summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-12 11:55:20 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-12 11:55:20 (EDT)
commit2b87748fbb3919567b371827a88eb7a9bc766ed8 (patch)
treeb924f48efe21418aa011489b6b6444bad8b15f44 /build
parent0b4f9e93eaceb44db0292d54df2e3b65547dfa9d (diff)
Use 'PKGS' macro in 'build' file.
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