]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Adjust build rules for nb translation.
authorPetter Reinholdtsen <pere@hungry.com>
Wed, 31 Jan 2018 20:59:44 +0000 (20:59 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Wed, 31 Jan 2018 20:59:44 +0000 (20:59 +0000)
Makefile

index d0aef0bb0de7cf2909d07e401737144aee6bbd35..6b9a2ca3590277873b8ad753b0e1d50eced4728c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ epub: $(SOURCE).epub
        perl -p -i -e '$$work=1 if /chapter.Arduino/; $$work=0 if /chapter.(Bibliography|Bibliografía)/; \
                next unless $$work; \
                s/(\\label\{[-\.\wáéíóúñ]+\}\\hyperlabel\{[-\.\wáéíóúñ]+\}%)/$$1\n\\begin{quote}/i; \
-               s/(Profile written by.+|Perfil escrito por.+)/$$1\n\\end{quote}/' $@
+               s/(Profile written by.+|Perfil escrito por.+|Profilen skrevet av.+)/$$1\n\\end{quote}/' $@
 
 XMLLINTOPTS = --nonet --noout  --xinclude --postvalid
 lint: $(SOURCE).xml