summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/targets.mak b/package/targets.mak
index b3c3151..ebe7d3c 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -14,3 +14,14 @@ BIN_TARGETS := \
s6-linux-init-maker
LIB_DEFS := S6_LINUX_INIT=s6_linux_init
+
+SKELFILES := $(wildcard skel/*)
+
+$(DESTDIR)$(skeldir)/%: skel/%
+ ./tools/install.sh -D -m 0755 $< $@
+
+install-skel: $(SKELFILES:skel/%=$(DESTDIR)$(skeldir)/%)
+
+.PHONY: install-skel
+
+install: install-skel