From 2b87748fbb3919567b371827a88eb7a9bc766ed8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 12 Apr 2012 11:55:20 -0400 Subject: Use 'PKGS' macro in 'build' file. --- (limited to 'build') 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 -- cgit v0.9.1