Tweak the 'de' recipe to use main.de.css.
authorThérèse Godefroy <godef.th@free.fr>
Thu, 19 Sep 2019 09:33:52 +0000 (11:33 +0200)
committerThérèse Godefroy <godef.th@free.fr>
Thu, 19 Sep 2019 09:38:19 +0000 (11:38 +0200)
Makefile.gen

index 54aeb5f407926782156192c858692ce6adfd922f..7bd527b582efc3da1277621155e895301b6b64a5 100644 (file)
@@ -80,6 +80,8 @@ es/%.html: esd-es.po $(foreach f,$(SRC),en/$f)
 de/%.html: esd-de.po $(foreach f,$(SRC),en/$f)
        -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
        $(sedi) '{s|img/en/|img/de/|g;}' $@
+       $(sedi) '/\/css\/main.css/a\
+       <link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.de.css" />' $@
 
 # fa - Persian
 fa/%.html: esd-fa.po $(foreach f,$(SRC),en/$f)