]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - share/alibtool
Minor bugfixes and extensions for the onlineDiplay Interface
[u/mrichter/AliRoot.git] / share / alibtool
index d0231dd91d8571044d948338c5b10a905a071ba2..b6be146a925ef1b8a9f50b41b9b0ce857a34db4d 100755 (executable)
@@ -8,6 +8,18 @@
 #
 # modification history
 # $Log$
+# Revision 1.11  2006/05/24 10:10:20  hristov
+# Correct dependences for files from subdirecties (Matevz)
+#
+# Revision 1.10.4.1  2006/05/24 10:09:05  hristov
+# Correct dependences for files from subdirecties (Matevz)
+#
+# Revision 1.10  2005/06/14 11:11:19  alibrary
+# Always output at least one line
+#
+# Revision 1.9  2004/06/18 10:30:54  rdm
+# fix typo in comment.
+#
 # Revision 1.8  2004/06/03 23:41:51  rdm
 # wrap some insanely long lines into mulitple lines.
 #
 
 MkDepend()
 {
-rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+echo "#"
+rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\([^/]*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+# rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
 }
 MkDependF()
 {
-rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+echo "#"
+rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\([^/]*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+# rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
 }
 
 MkModule()
 {
 module=$1
 #This one gets all the library pkg files
-tempo=`find ${module} -name "lib*.pkg"  | sed -e "sQ${module}/libQQ" -e "sQ\.pkgQQ"`
+tempo=`find ${module} -follow -name "lib*.pkg"  | sed -e "sQ${module}/libQQ" -e "sQ\.pkgQQ"`
 
 echo "#**************************************************************************";
 echo "#**** This file is automatically generated from the mkmodules script  *****";
@@ -149,7 +165,7 @@ for i in $tempo; do
 done;
 
 #This one gets all the binary(executable) pkg files
-tempo=`find ${module} -name "bin*.pkg"  | sed -e "sQ${module}/binQQ" -e "sQ\.pkgQQ"`
+tempo=`find ${module} -follow -name "bin*.pkg"  | sed -e "sQ${module}/binQQ" -e "sQ\.pkgQQ"`
 
 for i in $tempo; do
     package=$i;