X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c7ffa9a44bd559475aebcda0481e7c886a926f7e..79a4463b1f151f15e60df3f57c1d3575acb0d444:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 99a51d5c4a..2efc9d5b0b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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