summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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