diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |