]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Translated using Weblate (Norwegian Bokmål)
[text-madewithcc.git] / Makefile
index 42dbd74e28468f6a6419e354ec8c8bc1436c9883..6b9a2ca3590277873b8ad753b0e1d50eced4728c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,10 +99,14 @@ 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
        xmllint $(XMLLINTOPTS) $^
+lint-es: $(SOURCE).nb.xml
+       xmllint $(XMLLINTOPTS) $^
+lint-nb: $(SOURCE).nb.xml
+       xmllint $(XMLLINTOPTS) $^
 
 .SUFFIXES: .xml .md