summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild12
1 files changed, 7 insertions, 5 deletions
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 $@