X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Ftemplate_makefile.in;h=ac3e1449829f36ae6dda5c85a7f7a02487588dba;hb=f2e7cb9757a151382ed3a70d1a610e8f729a6597;hp=7c5a40b31381736ce69c7cbab4f668ccf30f4be7;hpb=2edd802fd82af7aa282a82344d14c851c210ed1c;p=helm.git diff --git a/matita/template_makefile.in b/matita/template_makefile.in index 7c5a40b31..ac3e14498 100644 --- a/matita/template_makefile.in +++ b/matita/template_makefile.in @@ -1,4 +1,5 @@ -SRC=$(shell find @ROOT@ -name "*.ma" -a -type f | sed 's?^@ROOT@/??') +SRC=$(shell find @ROOT@ -name "*.ma" -a -type f) +SHORTSRC=$(echo $(SRC) | sed 's?^@ROOT@/??g') TODO=$(SRC:%.ma=%.mo) MATITA_FLAGS= @@ -16,7 +17,7 @@ all: $(TODO) clean: $(MATITACLEAN) $(MATITA_FLAGS) $(SRC) - rm -f $(TODO) + rm -f $(TODO) @DEPFILE@ %.moo: if [ -z "$<" ]; then \ @@ -32,4 +33,4 @@ clean: # this is the depend for full targets like: # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo --include @DEPFILE@ +include @DEPFILE@