summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-06 19:49:43 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-06 19:49:43 (EDT)
commitac6f667bfd43bfc10e9912b10b238560179ad75f (patch)
treef67f62ae66b917915f5d93ae39b594b83b4571db /build
Initial commit.
Based on config-dev 0.1 (commit 88a8d56).
Diffstat (limited to 'build')
-rwxr-xr-xbuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..2f1de60
--- /dev/null
+++ b/build
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+plat = $${OPK_SOURCE\#config-}
+config_pkg = config-$${pkg}-$(plat)
+platconf_dir = $(config_pkg).data/usr/share/platconf/$(plat)/$${pkg}_$${ver}
+
+nop:
+ @:
+
+build:
+ @:
+
+install: build
+ set -e; \
+ for pkg in src/*; do \
+ pkg="$${pkg#src/}"; \
+ for ver in "src/$${pkg}/"*; do \
+ ver="$${ver#src/$${pkg}/}"; \
+ mkdir -p "$(platconf_dir)"; \
+ cp -p "src/$${pkg}/$${ver}/"* "$(platconf_dir)"; \
+ done; \
+ done