diff options
author | P. 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) |
commit | ac6f667bfd43bfc10e9912b10b238560179ad75f (patch) | |
tree | f67f62ae66b917915f5d93ae39b594b83b4571db /build |
Initial commit.
Based on config-dev 0.1 (commit 88a8d56).
Diffstat (limited to 'build')
-rwxr-xr-x | build | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 |