blob: 37bc5347e1469325ec18fb2656bb2f8da24d8f1c (
plain)
- topics = desktop
- localegroups = all eu
- profiles = $(foreach topic,$(topics),\
- content/$(topic))
- profiles += $(foreach topic,$(topics),$(foreach group,$(localegroups),\
- content/$(topic)/$(group)))
- signfiles = $(patsubst %,%.sig,$(profiles))
- info = content/NEWS content/TODO
- all: symlinkfarm $(profiles) $(info)
- sign: $(signfiles)
- symlinkfarm:
- shtool mkshadow profiles/wheezy profiles/jessie 2>/dev/null
- $(profiles):
- bin/pkglist2preseed $(patsubst content-%,parl-%,$(subst /,-,$@)) $@
- $(signfiles): %.sig: %
- rm -f $@
- gpg --detach-sign -a -o $@ $<
- $(info): content/% : %
- mkdir -p content
- cp -f $< $@
- clean:
- rm -f $(profiles:=/preseed.cfg) $(profiles:=/script.sh)
- rm -f $(info) $(signfiles)
- find profiles -type l -delete
- find profiles $(wildcard content) -empty -delete
|