diff options
author | P. J. McDermott <pjm@nac.net> | 2012-06-21 10:50:06 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-06-21 10:50:06 (EDT) |
commit | e3cb13e367e82194802e4b89ea86dc6981012ce8 (patch) | |
tree | 813a36552e6314277c2d25083ed21b71cf9423c8 | |
parent | b69e37d6f5241d0c842cc6cbc95ef7a835067221 (diff) |
Use PKGS macro in build makefile.
-rwxr-xr-x | build | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 $@ |