summaryrefslogtreecommitdiffstats
path: root/src/2
diff options
context:
space:
mode:
Diffstat (limited to 'src/2')
-rw-r--r--src/2/build.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/2/build.mk b/src/2/build.mk
index dfa6292..7f20ec0 100644
--- a/src/2/build.mk
+++ b/src/2/build.mk
@@ -1,13 +1,13 @@
ppt_plat = $${OPK_SOURCE\#config-}
ppt_pkg_dir = config-$${pkg}-$(ppt_plat).data
ppt_platconf_dir = $(ppt_pkg_dir)/usr/share/platconf/$(ppt_plat)/$${pkg}_$${ver}
+0 = /usr/share/platconf-pkg-tools/$(ppt_version)/build.mk
nop build:
@:
-install:
+install-build:
set -e; \
- [ -d src/build/ ] || exit 0; \
for pkg in src/build/*/; do \
pkg="$${pkg#src/build/}"; \
pkg="$${pkg%/}"; \
@@ -19,8 +19,9 @@ install:
"$(ppt_platconf_dir)"; \
done; \
done
+
+install-run:
set -e; \
- [ -d src/run/ ] || exit 0; \
for pkg in src/run/*/; do \
pkg="$${pkg#src/run/}"; \
pkg="$${pkg%/}"; \
@@ -32,3 +33,7 @@ install:
"config-$${pkg}.data/$${file}"; \
done; \
done
+
+install:
+ [ -d src/build/ ] && $(MAKE) -f $0 install-build
+ [ -d src/run/ ] && $(MAKE) -f $0 install-run