summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-30 17:12:30 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-30 17:12:30 (EDT)
commita160c6b73e3dc98511878f2af60824ac186495e6 (patch)
tree767b717550d01a8ead294a60180d4c1517304fb9 /build
parent4a69f25cd43ccc23e732092b9d01806afecfa15b (diff)
Update to SPF 2.0 and new upstream version.
Also, don't provide links to versioned files.
Diffstat (limited to 'build')
-rwxr-xr-xbuild44
1 files changed, 2 insertions, 42 deletions
diff --git a/build b/build
index fcda0d5..43937f6 100755
--- a/build
+++ b/build
@@ -1,43 +1,3 @@
-#! /usr/bin/make -f
+#!/usr/bin/make -f
-VER = 1.0
-PKGS = opkhelper opkhelper-doc
-BIN_DATA = /usr/bin/oh-applypatches \
- /usr/bin/oh-buildopk \
- /usr/bin/oh-checkbuilddeps \
- /usr/bin/oh-copyconfig \
- /usr/bin/oh-gencontrol \
- /usr/bin/oh-installdocs \
- /usr/bin/oh-installfiles \
- /usr/bin/oh-strip \
- /usr/bin/opkbuild
-MAN_DATA = /usr/share/man/man1/oh-applypatches.1 \
- /usr/share/man/man1/oh-buildopk.1 \
- /usr/share/man/man1/oh-checkbuilddeps.1 \
- /usr/share/man/man1/oh-copyconfig.1 \
- /usr/share/man/man1/oh-gencontrol.1 \
- /usr/share/man/man1/oh-installdocs.1 \
- /usr/share/man/man1/oh-installfiles.1 \
- /usr/share/man/man1/oh-strip.1 \
- /usr/share/man/man1/opkbuild.1 \
- /usr/share/man/man7/opkhelper.7
-
-$(PKGS): opkhelper.buildstamp
-
-.SILENT: opkhelper.buildstamp
-opkhelper.buildstamp:
- for file in $(BIN_DATA); do \
- mkdir -p "dest/$${file%/*}"; \
- basename="$${file##*/}"; \
- ln -s "$${basename}-$(VER)" "dest/$${file}"; \
- done
- for file in $(MAN_DATA); do \
- mkdir -p "dest/$${file%/*}"; \
- basename="$${file##*/}"; \
- ln -s "$${basename%.*}-$(VER).$${basename##*.}" "dest/$${file}"; \
- done
- oh-installfiles $(PKGS)
- oh-installdocs opkhelper
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
- touch $@
+build install: