X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/86ad16cfea87e948bfbd68d5c541ceeb10b3ec4b..199ab5039af93103fc9c57332a65096c086c5792:/Makefile diff --git a/Makefile b/Makefile index 6eca7d2..b8501d9 100644 --- a/Makefile +++ b/Makefile @@ -13,17 +13,12 @@ name = freeculture DEBIAN_EDU_DOC_TITLE=Free Culture export -#include ../common/Makefile.common - -DBLATEX = dblatex -T db2latex --backend=xetex --xsl-user=../common/user_param.xsl --xsl-user=../common/xetex_param.xsl -p ../common/pdf.xsl --param=lingua=zh-tw +DBLATEX = dblatex -T db2latex --backend=xetex --xsl-user=data/user_param.xsl --xsl-user=data/xetex_param.xsl -p data/pdf.xsl --param=lingua=nb all: pdf -update-translation: freeculture.pot +freeculture.nb.po: freeculture.pot po4a --no-translations --msgmerge-opt --no-location po4a.cfg - msgcat --no-location -o $(name).pot $(name).pot - -freeculture.nb.po: update-translation freeculture.nb.xml: freeculture.nb.po freeculture.xml po4a --translate-only freeculture.nb.xml po4a.cfg