summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-16 01:04:24 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-16 01:04:24 (EST)
commit92ed65725a666f3c7400c016c6c4b31e7683dd04 (patch)
tree6fab118d2941e5edb524a43de19fa451bda335ce /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..99e19b5
--- /dev/null
+++ b/build
@@ -0,0 +1,14 @@
+#! /usr/bin/make -f
+
+opkhelper opkhelper-doc: opkhelper.buildstamp
+
+.SILENT: opkhelper.buildstamp
+opkhelper.buildstamp:
+ mkdir build && cd build && \
+ ./configure --prefix=/usr && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-installfiles opkhelper opkhelper-doc
+ oh-installdocs opkhelper
+ oh-gencontrol opkhelper opkhelper-doc
+ oh-buildopk opkhelper opkhelper-doc
+ touch opkhelper.buildstamp