diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-24 20:37:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-24 20:37:20 +0000 |
commit | f150027100d2488b318af935979c9b32ff420c71 (patch) | |
tree | 13d4bfce4313b5e0faba6d32c02a423cc8702150 /Makefile | |
parent | c50ab80bfaf00fbc974e3847b613d0ce2b6e1549 (diff) | |
download | abuild-f150027100d2488b318af935979c9b32ff420c71.tar.gz abuild-f150027100d2488b318af935979c9b32ff420c71.tar.bz2 abuild-f150027100d2488b318af935979c9b32ff420c71.tar.xz abuild-f150027100d2488b318af935979c9b32ff420c71.zip |
abuild: fix so APKBUILD env var works properly
We also make sure we source the APKBUILD when we are in the directory
holding the APKBUILD file. Some of the packages sources others
with relative references. (for example kernel 3rd party packages)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,7 @@ else FULL_VERSION := $(VERSION) endif +CHMOD := chmod SED := sed TAR := tar @@ -39,9 +40,11 @@ SSL_LIBS := $(shell pkg-config --libs openssl) .SUFFIXES: .sh.in .in .sh.in.sh: ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ + ${CHMOD} +x $@ .in: ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ + ${CHMOD} +x $@ P=$(PACKAGE)-$(VERSION) |