From e3cb13e367e82194802e4b89ea86dc6981012ce8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 21 Jun 2012 10:50:06 -0400 Subject: Use PKGS macro in build makefile. --- (limited to 'build') diff --git a/build b/build index 3ab07bf..22c4114 100755 --- a/build +++ b/build @@ -1,14 +1,16 @@ #! /usr/bin/make -f -opkhelper opkhelper-doc: opkhelper.buildstamp +PKGS = opkhelper opkhelper-doc + +$(PKGS): opkhelper.buildstamp .SILENT: opkhelper.buildstamp opkhelper.buildstamp: mkdir build && cd build && \ ../src/configure --prefix=/usr && \ make && make DESTDIR=$$(pwd)/../dest install - oh-installfiles opkhelper opkhelper-doc + oh-installfiles $(PKGS) oh-installdocs opkhelper - oh-gencontrol opkhelper opkhelper-doc - oh-buildopk opkhelper opkhelper-doc - touch opkhelper.buildstamp + oh-gencontrol $(PKGS) + oh-buildopk $(PKGS) + touch $@ -- cgit v0.9.1