summaryrefslogtreecommitdiff
path: root/Makefile
blob: c4a178c826629382a4769f6c8b9d0f514fd8ffcb (plain)
  1. profiles = desktop
  2. desktoptopics = email office web
  3. desktoptopiclists = $(patsubst %,profiles/desktop-%,$(desktoptopics))
  4. basefiles = $(patsubst %,content/%/base/preseed.cfg,$(profiles))
  5. topicfiles = $(patsubst %,content/desktop/%/preseed.cfg,$(desktoptopics))
  6. profilefiles = $(patsubst %,content/%/preseed.cfg,$(profiles))
  7. all: $(basefiles) $(topicfiles) $(profilefiles)
  8. $(basefiles): content/%/base/preseed.cfg : profiles/% profiles/%-z
  9. bin/pkglist2preseed skel/preseed.cfg.in $^ > $@
  10. $(topicfiles): content/desktop/%/preseed.cfg : profiles/desktop profiles/desktop-% profiles/desktop-z
  11. bin/pkglist2preseed skel/preseed.cfg.in $^ > $@
  12. $(profilefiles): content/%/preseed.cfg : profiles/% profiles/%-email $(desktoptopiclists) profiles/%-z
  13. bin/pkglist2preseed skel/preseed.cfg.in $^ > $@