summaryrefslogtreecommitdiff
path: root/Makefile
blob: d73e964cee5f53218530718bd60ceac245432e81 (plain)
  1. topics = desktop
  2. localegroups = all eu
  3. profiles = $(foreach topic,$(topics),\
  4. content/$(topic))
  5. profiles += $(foreach topic,$(topics),$(foreach group,$(localegroups),\
  6. content/$(topic)/$(group)))
  7. signfiles = $(patsubst %,%.sig,$(profiles))
  8. info = content/NEWS content/TODO
  9. all: $(profiles) $(info)
  10. sign: $(signfiles)
  11. $(profiles):
  12. bin/pkglist2preseed $(patsubst content-%,parl-%,$(subst /,-,$@)) $@
  13. $(signfiles): %.sig: %
  14. rm -f $@
  15. gpg --detach-sign -a -o $@ $<
  16. $(info): content/% : %
  17. mkdir -p content
  18. cp -f $< $@
  19. clean:
  20. rm -f $(profiles:=/preseed.cfg) $(profiles:=/script.sh)
  21. rm -f $(info) $(signfiles)
  22. find content -empty -delete