author | kergoth <kergoth> | 2002-11-05 20:11:47 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-05 20:11:47 (UTC) |
commit | e1debaf85105673962fd9e5d6d05c4cf8668164b (patch) (unidiff) | |
tree | a577c78480eb8230a6671235b203fe184968efac | |
parent | dd60e5b7e5b851fb9206e6dbb87fda6f043bac12 (diff) | |
download | opie-e1debaf85105673962fd9e5d6d05c4cf8668164b.zip opie-e1debaf85105673962fd9e5d6d05c4cf8668164b.tar.gz opie-e1debaf85105673962fd9e5d6d05c4cf8668164b.tar.bz2 |
Set generated configs in Makefile.test for now
-rw-r--r-- | Makefile.test | 2 | ||||
-rw-r--r-- | Rules.make | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.test b/Makefile.test index 392ea37..cf9f28c 100644 --- a/Makefile.test +++ b/Makefile.test | |||
@@ -6,4 +6,6 @@ export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | |||
6 | export QMAKESPEC=$(QMAKESPECSDIR)/qws/linux-generic-g++ | 6 | export QMAKESPEC=$(QMAKESPECSDIR)/qws/linux-generic-g++ |
7 | 7 | ||
8 | configs += $(TOPDIR)/core/applets/restartapplet2/config.in $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/core/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/config.in $(TOPDIR)/noncore/todayplugins/config.in $(TOPDIR)/x11/ipc/server/config.in $(TOPDIR)/x11/ipc/config.in $(TOPDIR)/x11/config.in /usr/src/coding/projects/userspace/opie/config.in | ||
9 | |||
8 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) | 10 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) |
9 | # in order to have a full set of config.in files. | 11 | # in order to have a full set of config.in files. |
@@ -20,7 +20,6 @@ $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR) | |||
20 | 20 | ||
21 | $(TOPDIR)/.depends.cfgs: | 21 | $(TOPDIR)/.depends.cfgs: |
22 | # generation of config.in files, and config.in interdependencies | 22 | # config.in interdependencies |
23 | @find $(TOPDIR)/ -name config.in | ( for cfg in `cat`; do dir=`dirname $$cfg`; name=`basename $$dir`; if [ ! -e $$dir/$$name.pro ]; then echo $$dir; fi; done; ) > dirs | 23 | @echo $(configs) | sed -e 's,/config.in,,g' | ( for i in `cat`; do echo $$i; done ) > dirs |
24 | @echo "configs += `echo \`cat dirs | sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g' -e's,$$,/config.in,g'\``" >> $@ | ||
25 | @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@ | 24 | @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@ |
26 | @-rm -f dirs | 25 | @-rm -f dirs |