]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Generate list of translations dynamically.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:11:35 +0000 (09:11 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:11:35 +0000 (09:11 +0100)
Makefile

index 6dab996c8b25af75100dd4aeaf9a9e87e9116add..0de6e86f52e6c46d0d297a387881e5d829da0999 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ PANDOC_OPTS = --top-level-division=part -t docbook -f markdown+inline_notes+asci
 # --top-level-diversion is not available in pandoc in Jessie
 # PANDOC_OPTS = -t docbook -f markdown+inline_notes
 
-LANGS = de es nb nl pl
+LANGS := $(shell ls po/*/mwcc.po|cut -d/ -f2)
 
 all: pdf epub