X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fdidactic%2FMakefile;h=d31ab55257eeff69475c0558621a2faa2c7c9e10;hb=5322d66340d43e85b85e15dddcddeff3ae3a3552;hp=68f956a2409243d025d36a4aa4b12b771d8d4499;hpb=5c19a08b542a3b02bddd680ec8bf04513f30a71e;p=helm.git diff --git a/helm/software/matita/contribs/didactic/Makefile b/helm/software/matita/contribs/didactic/Makefile index 68f956a24..d31ab5525 100644 --- a/helm/software/matita/contribs/didactic/Makefile +++ b/helm/software/matita/contribs/didactic/Makefile @@ -16,4 +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 +