]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Add code to remove empty notes/web links sections.
[text-madewithcc.git] / Makefile
index 1037f9d34568ed4cfbda6ec7c3496f9560180b18..6cd997d87e1555725a6a5e6f24838bf3e7a90a4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,9 +102,7 @@ DBLATEX_OPTS = -T simple -t tex -b xetex -p extra/pdf.xsl
 %.tex: %.xml
        dblatex $(DBLATEX_OPTS) $^
        perl -p -i -e 's/ / /g; \
-               s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \
-               s/\\section\{(Notes|Notas)\}/\\section*{$$1}/; \
-               s/(Web links?|Vínculos Web)/\\section*{$$1}/;' $@
+               s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/;' $@
 
 XMLLINTOPTS = --nonet --noout  --xinclude --postvalid
 lint: $(SOURCE).xml