]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
Don't regenerate pot file, every time we run make.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Oct 2012 16:51:14 +0000 (16:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Oct 2012 16:51:14 +0000 (16:51 +0000)
Makefile
po/Makefile

index 0361af6ae2f92abf5cb850e2f23edd6029509998..581332ceed5ec28f7a5c7a7275c2a6c816d969e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,3 +45,7 @@ check:
 .PHONY: po
 po:
        $(MAKE) -C po
+
+.PHONY: pot
+pot:
+       $(MAKE) -C po pot
index af22eb923573b42f2c28989e516c811a92f3cac7..b1072d722c7cd2332207224402bb08c70dd56f7f 100644 (file)
@@ -10,13 +10,16 @@ TRANS_FILES := $(addprefix $(TOP),$(TRANS_FILES))
 TRANS_FILES := $(sort $(wildcard $(TRANS_FILES)))
 
 .PHONY: all
-all: $(POT_FILE) $(MO_FILES)
+all: $(MO_FILES)
+
+.PHONY: pot
+pot: $(POT_FILE)
 
 $(POT_FILE): $(TRANS_FILES)
        xgettext -d $(PACKAGE_NAME) -k_ -kN_ \
                -o $@ --add-comments --from-code=UTF-8 $^ 
 
-%.mo: %.po $(POT_FILE)
+%.mo: %.po
        msgfmt -o $@ $<
 
 .PHONY: install
@@ -29,4 +32,4 @@ install: $(MO_FILES)
 
 .PHONY: clean
 clean:
-       rm -f $(POT_FILE) $(MO_FILES)
+       rm -f $(MO_FILES)