summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-08-27 18:08:47 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2013-08-27 18:08:47 +0200
commitef0f9e64118559f58e2a4c830d3247b464b6345c (patch)
tree0aff03432e877c429f8f10c3a8c9e38b6ff23423 /doc/Makefile.am
parent47804c9d208802095d7cd594300e5a2070b4f1b8 (diff)
downloadcalcurse-ef0f9e64118559f58e2a4c830d3247b464b6345c.zip
Install translated documentation
Add rules so that translated documentation is installed to /usr/local/share/doc/calcurse/<lang>/. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e5f68f2..b561f71 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,7 +13,9 @@ A2X_ARGS = \
-f manpage
endif
-dist_doc_DATA = \
+doc_langs = fr de es nl ru pt_BR
+
+nobase_dist_doc_DATA = \
manual.html \
submitting-patches.html \
add.txt \
@@ -38,7 +40,8 @@ dist_doc_DATA = \
save.txt \
tab.txt \
view.txt \
- vnote.txt
+ vnote.txt \
+ $(foreach lang, $(doc_langs), $(wildcard $(lang)/*.txt))
dist_man_MANS = \
calcurse.1