From 1043fd98ae0e20cb5d05d264a08903f3e059f27b Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 26 Sep 2006 09:38:57 +0000 Subject: [PATCH] Remove the comments from the C files (without arming the line numbers for error messages) and build bz2 and gzip archives (at full compression ratio) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2816 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d1b21edbb3..adfe059f0e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,7 @@ gramine: @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 @@ -41,7 +41,8 @@ gramine: 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 ## -- 2.20.1