cvs.sh vs. inst-apps

Oswald Buddenhagen ossi at kde.org
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 configure.in.ins will be used.
proper solution: create app-specific acinclude.m4.in files. those files
  are used independently of inst-apps. every app needing something would
  only AC_REQUIRE something in its configure.in.in, 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 --------------
Index: cvs.sh
===================================================================
RCS file: /home/kde/kde-common/admin/cvs.sh,v
retrieving revision 1.144
diff -U2 -r1.144 cvs.sh
--- cvs.sh	7 Nov 2004 22:03:16 -0000	1.144
+++ cvs.sh	7 Nov 2004 22:13:28 -0000
@@ -346,15 +346,6 @@
 test -f configure.in.in && echo configure.in.in >> 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 "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
-		sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`"
-   done
-else
    list=`find . -follow -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
 		sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`
-fi
 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