Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the comments from the C files (without arming the line numbers for error messa...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 26 Sep 2006 09:38:57 +0000 (09:38 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 26 Sep 2006 09:38:57 +0000 (09:38 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2816 48e7efb5-ca39-0410-a469-dd3cf9ba447f

Makefile.am

index d1b21ed..adfe059 100644 (file)
@@ -27,7 +27,7 @@ gramine:
        @echo "# Setup sources..."
        for n in `find include src -name '*.[chl]'`; do \
          mkdir -p gramine-@VERSION@/`dirname $$n`; \
        @echo "# Setup sources..."
        for n in `find include src -name '*.[chl]'`; do \
          mkdir -p gramine-@VERSION@/`dirname $$n`; \
-         cp $$n gramine-@VERSION@/`dirname $$n`; \
+          perl -e '$$/ = undef; $$l=<>; while ($$l=~ m,(/\*.*?\*/),s) { $$rep=$$1; $$rep=~s/\S//sg; $$l=~s,/\*.*?\*/,$$rep,s; } print $$l;' < $$n > gramine-@VERSION@/$$n; \
        done
        @echo "# Copy sources to be generated by configury"
        cp src/ucontext_stack.h.in src/gras_config.h.in gramine-@VERSION@/src
        done
        @echo "# Copy sources to be generated by configury"
        cp src/ucontext_stack.h.in src/gras_config.h.in gramine-@VERSION@/src
@@ -41,7 +41,8 @@ gramine:
        done
        cp install[-.]sh config.sub config.guess depcomp missing ltmain.sh gramine-@VERSION@/
        chmod +x gramine-@VERSION@/configure
        done
        cp install[-.]sh config.sub config.guess depcomp missing ltmain.sh gramine-@VERSION@/
        chmod +x gramine-@VERSION@/configure
-       tar cfz gramine-@VERSION@.tar.gz gramine-@VERSION@/
+       tar cf gramine-@VERSION@.tar gramine-@VERSION@ ; bzip2 -9 gramine-@VERSION@.tar
+       tar cf gramine-@VERSION@.tar gramine-@VERSION@ ; gzip -9 gramine-@VERSION@.tar
 
 if MAINTAINER_MODE
 ##
 
 if MAINTAINER_MODE
 ##