summaryrefslogtreecommitdiff
path: root/translations
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-10-30 16:45:00 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:14 +0100
commite3b9ae605fcbc1ce71a24d10ec67f6e3c28c4d63 (patch)
tree5fca612d0e09d34162d22eff3bfae9aa529fe195 /translations
parent715d659d9e0cc9ebb85087b577d03e2f2d2af11a (diff)
downloadfribid-e3b9ae605fcbc1ce71a24d10ec67f6e3c28c4d63.tar.gz
fribid-e3b9ae605fcbc1ce71a24d10ec67f6e3c28c4d63.tar.bz2
fribid-e3b9ae605fcbc1ce71a24d10ec67f6e3c28c4d63.zip
Depend on the configuration file in the translations Makefile
Diffstat (limited to 'translations')
-rw-r--r--translations/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/translations/Makefile b/translations/Makefile
index 6211326..4ac0b2d 100644
--- a/translations/Makefile
+++ b/translations/Makefile
@@ -33,9 +33,11 @@ LOCALEDIR=`../configure --internal--get-define=LOCALEDIR`
MOFILES=sv.mo
LANGUAGES=sv
+DEFINES=../common/config.h ../common/defines.h
+
all: template.pot $(MOFILES)
-template.pot: $(POTFILES)
+template.pot: $(POTFILES) $(DEFINES)
xgettext -k_ -d $(DOMAIN) --package-name=$(PACKAGENAME) --package-version=$(PACKAGEVERSION) --copyright-holder='YOUR NAME' -o $@ $(POTFILES)
.po.mo:
@@ -57,3 +59,7 @@ uninstall:
.PHONY: all clean install uninstall
+../common/config.h:
+ @echo "You must run ./configure first." >&2 && false
+../common/defines.h:
+