summaryrefslogtreecommitdiff
path: root/Rules.make
authorkergoth <kergoth>2002-11-05 02:33:22 (UTC)
committer kergoth <kergoth>2002-11-05 02:33:22 (UTC)
commited163d67a674b1c4ac6b7e917a509029da446dfb (patch) (side-by-side diff)
treed444f6395e82b1dd66f0ce8a413348a6f183bad3 /Rules.make
parent9ac6d0a443c417158e3f2acf2de0629c51b6511c (diff)
downloadopie-ed163d67a674b1c4ac6b7e917a509029da446dfb.zip
opie-ed163d67a674b1c4ac6b7e917a509029da446dfb.tar.gz
opie-ed163d67a674b1c4ac6b7e917a509029da446dfb.tar.bz2
config.in generation to reduce maintainance headaches
Diffstat (limited to 'Rules.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make7
1 files changed, 6 insertions, 1 deletions
diff --git a/Rules.make b/Rules.make
index 2fa5e7f..96e528b 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,5 +1,6 @@
## targets ##
-$(TOPDIR)/config.in :
+$(configs) :
+ $(call makecfg,$@)
$(TOPDIR)/.depends : $(TOPDIR)/config.in
@@ -39,2 +40,6 @@ define makefilegen
cd $(shell dirname $(1)); $(TOPDIR)/qmake/qmake $(3) -o $(shell basename $(1)) `echo $(1)|sed -e 's,/Makefile$$,,g' -e 's,.*/,,g'`.pro
endef
+
+define makecfg
+ $(TOPDIR)/scripts/makecfg.pl $1
+endef