summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/build b/build
index ab98c88..1289978 100755
--- a/build
+++ b/build
@@ -1,6 +1,8 @@
#! /usr/bin/make -f
-gettext gettext-dev gettext-doc: gettext.buildstamp
+PKGS = gettext gettext-dev gettext-doc
+
+$(PKGS): gettext.buildstamp
.SILENT: gettext.buildstamp
gettext.buildstamp:
@@ -10,8 +12,8 @@ gettext.buildstamp:
make && make DESTDIR=$$(pwd)/../../dest install
oh-strip -gl /usr/lib/libasprintf.so.0.0.0
oh-strip -g /usr/bin/gettext /usr/bin/ngettext /usr/bin/envsubst
- oh-installfiles gettext gettext-dev gettext-doc
+ oh-installfiles $(PKGS)
oh-installdocs gettext
- oh-gencontrol gettext gettext-dev gettext-doc
- oh-buildopk gettext gettext-dev gettext-doc
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
touch gettext.buildstamp