X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fdidactic%2FMakefile;h=d31ab55257eeff69475c0558621a2faa2c7c9e10;hb=625846fd7d1b0063b3b3a81ff9bbf36ddccf84f1;hp=f2aefca04a2ce8d9e10e9fea6d92e928116507ee;hpb=aba1baf85bb8e6b3ea3e66a8c2d07601066d26bc;p=helm.git diff --git a/helm/software/matita/contribs/didactic/Makefile b/helm/software/matita/contribs/didactic/Makefile index f2aefca04..d31ab5525 100644 --- a/helm/software/matita/contribs/didactic/Makefile +++ b/helm/software/matita/contribs/didactic/Makefile @@ -16,6 +16,7 @@ depend.opt: $(BIN)matitadep.opt -dot && rm depends.dot exercise-%: % cp $< $@ - perl -ne 'undef $$/;s/\(\*BEGIN.*?END\*\)/.../msg;print' -i $@ + perl -ne 'undef $$/;s/\(\*BEGIN.*?END\*\)/…/msg;print' -i $@ + perl -ne 'undef $$/;s/\(\*DOCBEGIN.*?DOCEND\*\)//msg;print' -i $@ (echo ''; awk 'BEGIN { p = 0; } /DOCEND/ { p = 0; } { if (p == 1) print $$0; } /DOCBEGIN/ { p = 1;}' < $< | markdown; echo '') > $@.html