summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-08-10 19:46:47 +0200
committerJonas Smedegaard <dr@jones.dk>2014-08-10 19:51:14 +0200
commit51989bed6182d5f8e020374be57729445c7927f8 (patch)
treed02cf2b37a82ba11718d682c36ff47f377b0a669
parentdcf1f90e5bb1f8f45f8165a3a7f494b165fc99b7 (diff)
Add jessie suite, with fallback on Wheezy classes. Fix skip cleanup of missing content dir.
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d73e964..37bc534 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,12 @@ profiles += $(foreach topic,$(topics),$(foreach group,$(localegroups),\
signfiles = $(patsubst %,%.sig,$(profiles))
info = content/NEWS content/TODO
-all: $(profiles) $(info)
+all: symlinkfarm $(profiles) $(info)
sign: $(signfiles)
+symlinkfarm:
+ shtool mkshadow profiles/wheezy profiles/jessie 2>/dev/null
+
$(profiles):
bin/pkglist2preseed $(patsubst content-%,parl-%,$(subst /,-,$@)) $@
@@ -24,4 +27,5 @@ $(info): content/% : %
clean:
rm -f $(profiles:=/preseed.cfg) $(profiles:=/script.sh)
rm -f $(info) $(signfiles)
- find content -empty -delete
+ find profiles -type l -delete
+ find profiles $(wildcard content) -empty -delete