Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Quick and dirty hack to prevent gramine to comprise annoying files.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 12 Dec 2006 18:10:07 +0000 (18:10 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 12 Dec 2006 18:10:07 +0000 (18:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2961 48e7efb5-ca39-0410-a469-dd3cf9ba447f

Makefile.am

index 99a51d5..2efc9d5 100644 (file)
@@ -24,7 +24,7 @@ all-local:
 gramine:
        rm -rf gramine-@VERSION@ gramine-@VERSION@.tar*
        @echo "# Setup sources..."
-       for n in `find include src tools/gras -name '*.[ch]'`; do \
+       for n in `find include src tools/gras -name '*.[ch]' | grep -v -e gras_config.h -e ucontext_stack.h`; do \
          mkdir -p 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