summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
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