summaryrefslogtreecommitdiff
path: root/Makefile
blob: bace4264e5fed754e9daf6c7873928944138e2ff (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. mainfiles = $(patsubst %,content/%/preseed.cfg,$(profiles))
  7. allfiles = $(basefiles) $(topicfiles) $(mainfiles)
  8. all: $(allfiles)
  9. $(basefiles): content/%/base/preseed.cfg : profiles/% profiles/%-z
  10. bin/pkglist2preseed skel/preseed.cfg.in $@ $^
  11. $(topicfiles): content/desktop/%/preseed.cfg : profiles/desktop profiles/desktop-% profiles/desktop-z
  12. bin/pkglist2preseed skel/preseed.cfg.in $@ $^
  13. $(mainfiles): content/%/preseed.cfg : profiles/% profiles/%-email $(desktoptopiclists) profiles/%-z
  14. bin/pkglist2preseed skel/preseed.cfg.in $@ $^