X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fdidactic%2FMakefile;h=fd1b47a87502fecf0d335fc29fa9f574a639cf27;hb=24606db07721e6edf9f1f51a07df75f0cdfba200;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..fd1b47a87 100644 --- a/helm/software/matita/contribs/didactic/Makefile +++ b/helm/software/matita/contribs/didactic/Makefile @@ -17,3 +17,6 @@ depend.opt: exercise-%: % cp $< $@ 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 +