diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,13 +2,16 @@ profiles = desktop desktoptopics = email office web lcgroups = all eu desktoptopiclists = $(patsubst %,profiles/desktop-%,$(desktoptopics)) +desktoptopiclcgrouplists = $(foreach topic,$(desktoptopics),\ + profiles/desktop-$(topic)-%) desktoptweaks = tweaks/base tweaks/desktop basefiles = $(patsubst %,content/%/base/preseed.cfg,$(profiles)) topicfiles = $(patsubst %,content/desktop/%/preseed.cfg,$(desktoptopics)) lcgroupfiles = $(foreach lcgroup,$(lcgroups),\ $(patsubst %,content/desktop/%-$(lcgroup)/preseed.cfg,$(desktoptopics))) mainfiles = $(patsubst %,content/%/preseed.cfg,$(profiles)) -allfiles = $(basefiles) $(topicfiles) $(lcgroupfiles) $(mainfiles) +mainlcgroupfiles = $(patsubst %,content/desktop/%/preseed.cfg,$(lcgroups)) +allfiles = $(basefiles) $(topicfiles) $(lcgroupfiles) $(mainfiles) $(mainlcgroupfiles) mdfiles = content/MD5SUMS shafiles = $(patsubst %,content/SHA%SUMS,1 256 512) checksumfiles = $(mdfiles) $(shafiles) @@ -34,6 +37,9 @@ $(mdfiles): content/MD%SUMS: $(allfiles) rm -f $@.sign mv -f $@~ $@ +$(mainlcgroupfiles): content/desktop/%/preseed.cfg : skel/preseed.cfg.in profiles/desktop $(desktoptopiclists) $(desktoptopiclcgrouplists) profiles/desktop-z $(desktoptweaks) + bin/pkglist2preseed $(filter skel/%,$^) $@ "$(filter profiles/%,$^)" "$(filter tweaks/%,$^)" + $(shafiles): content/SHA%SUMS: $(allfiles) cd content && sha$*sum $(allfiles:content/%=%) > SHA$*SUMS~ rm -f $@.sign |