vs. inst-apps

Oswald Buddenhagen ossi at
Sun Nov 7 22:34:48 GMT 2004

problem: each cvs module contains lots of apps. but i want only that and
  that ones.
solution: inst-apps in the module's root.
buuuuut ...: the configure stuff within one module often has inter-app
  dependencies. consequently the current approach used for inst-apps to
  exclude unlisted apps completely just does not work out.
simple solution: apply attached patch. the unlisted apps will not be
  compiled, but their will be used.
proper solution: create app-specific files. those files
  are used independently of inst-apps. every app needing something would
  only AC_REQUIRE something in its, which will only be
  used if the app is listed in inst-apps. one definition - multiple
  references. nice, clean, and a lot of work. ;)

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.
-------------- next part --------------
RCS file: /home/kde/kde-common/admin/,v
retrieving revision 1.144
diff -U2 -r1.144
---	7 Nov 2004 22:03:16 -0000	1.144
+++	7 Nov 2004 22:13:28 -0000
@@ -346,15 +346,6 @@
 test -f && echo >> configure.files
 # we collect files in the subdirs and do some sorting tricks, so subsubdirs come after subdirs
-if test -f inst-apps; then
-   inst=`cat inst-apps`
-   list=""
-   for i in $inst; do
-      list="$list `find $i/ -follow -name "" -o -name "" -o -name "" | \
-		sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`"
-   done
    list=`find . -follow -name "" -o -name "" -o -name "" | \
 		sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`
 for i in $list; do if test -f $i && test `dirname $i` != "." ; then
   echo $i >> configure.files

More information about the kde-core-devel mailing list