diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-03-05 12:29:03 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-03-05 12:29:03 +0100 |
commit | 3cdf146e8251ff6b49a1ceff30e6af2cb9184e14 (patch) | |
tree | 9f60157478b5321eb6d85879c4b49d700befe8e6 /Makefile | |
parent | 22bcf3c24d0dc9c146979848c3d2f564704adcec (diff) |
Separate localegroups as own profiles (only 'all' for now).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,11 +1,14 @@ profiles = desktop desktoptopics = email office web +lcgroups = all desktoptopiclists = $(patsubst %,profiles/desktop-%,$(desktoptopics)) 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) $(mainfiles) +allfiles = $(basefiles) $(topicfiles) $(lcgroupfiles) $(mainfiles) mdfiles = content/MD5SUMS shafiles = $(patsubst %,content/SHA%SUMS,1 256 512) checksumfiles = $(mdfiles) $(shafiles) @@ -20,6 +23,9 @@ $(basefiles): content/%/base/preseed.cfg : skel/preseed.cfg.in profiles/% profil $(topicfiles): content/desktop/%/preseed.cfg : skel/preseed.cfg.in profiles/desktop profiles/desktop-% profiles/desktop-z $(desktoptweaks) bin/pkglist2preseed $(filter skel/%,$^) $@ "$(filter profiles/%,$^)" "$(filter tweaks/%,$^)" +$(lcgroupfiles): content/desktop/%/preseed.cfg : skel/preseed.cfg.in profiles/desktop profiles/desktop-% profiles/desktop-z $(desktoptweaks) + bin/pkglist2preseed $(filter skel/%,$^) $@ "$(filter profiles/%,$^)" "$(filter tweaks/%,$^)" + $(mainfiles): content/%/preseed.cfg : skel/preseed.cfg.in profiles/% $(desktoptopiclists) profiles/%-z $(desktoptweaks) bin/pkglist2preseed $(filter skel/%,$^) $@ "$(filter profiles/%,$^)" "$(filter tweaks/%,$^)" |