X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f87bc85a78ade5e780ca2436a0885b88431f3f7a..b923e5573fd283b0b50745c419bc1ac716c53126:/src/mk_supernovae.sh diff --git a/src/mk_supernovae.sh b/src/mk_supernovae.sh deleted file mode 100755 index cec0876ff6..0000000000 --- a/src/mk_supernovae.sh +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh - -file=$1 -shift - -cat > $file < -#include "portable.h" -#include "xbt.h" -EOF -for n in $@ ; do -# echo "File $n" - if [ "X$n" = 'Xxbt/log.c' ] ; then - echo "#define _simgrid_log_category__default &_simgrid_log_category__log">> $file; - else - if grep -q 'XBT_LOG_[^ ]*DEFAULT_[^ ]*CATEGORY' $n ; then - default=`grep 'XBT_LOG_[^ ]*DEFAULT_[^ ]*CATEGORY' $n| - sed 's/^[^(]*(\([^,)]*\).*$/\1/'|head -n1`; - echo "#define _simgrid_log_category__default &_simgrid_log_category__$default">> $file; - else - echo "/* no default category in file $n */" >> $file; - fi; - fi; - echo ' #include "'$n'"' >> $file ; - echo "#undef _simgrid_log_category__default">> $file; - echo >> $file; -done - -exit 0 \ No newline at end of file