summaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-05-23 17:12:52 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-23 17:25:41 +0200
commit7fa1f0e2aa70a610d6de76e2194857b2ddc36b18 (patch)
tree452f195d3b14941550306dfc7118a858a72e8ccd /scripts/Makefile.am
parentde114ce437d5f34db52a3acd7e17672ea6d76336 (diff)
downloadcalcurse-7fa1f0e2aa70a610d6de76e2194857b2ddc36b18.zip
Add localization to calcurse-upgrade
* Use gettext in "scripts/calcurse-upgrade". * Add "scripts/calcurse-upgrade" to "po/POTFILES.in". * Rename "scripts/calcurse-upgrade" to "scripts/calcurse-upgrade.sh" to make sure xgettext(1) detects the correct input file format. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 408de30..5502cfd 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,3 +1,13 @@
AUTOMAKE_OPTIONS = foreign
-dist_bin_SCRIPTS = calcurse-upgrade
+dist_bin_SCRIPTS = \
+ calcurse-upgrade
+
+EXTRA_DIST = \
+ calcurse-upgrade.sh
+
+CLEANFILES = \
+ calcurse-upgrade
+
+calcurse-upgrade: calcurse-upgrade.sh
+ $(AM_V_GEN) $(INSTALL) $< $@