From 51989bed6182d5f8e020374be57729445c7927f8 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 10 Aug 2014 19:46:47 +0200 Subject: Add jessie suite, with fallback on Wheezy classes. Fix skip cleanup of missing content dir. --- Makefile | 8 ++++++-- 1 file 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 -- cgit v1.2.3