]> sipb.mit.edu Git - ikiwiki.git/blobdiff - po/Makefile
web commit by cjb: Suggested patch for 302 redirect after page creation when using bzr
[ikiwiki.git] / po / Makefile
index 52e702e47932c41f5f61cb34f274d32dd5ced0e9..013cdf26834e9f8679b82ae9e7252b56cff9f6fc 100644 (file)
@@ -5,7 +5,9 @@ POTFILES=$(sort $(shell find ../IkiWiki -type f -name \*.pm)) \
 POFILES=$(wildcard *.po)
 MOFILES=$(POFILES:.po=.mo)
 
-all: ikiwiki.pot $(MOFILES)
+all: ikiwiki.pot mo
+
+mo: $(MOFILES)
 
 install: all
        for file in $(MOFILES); do \
@@ -26,7 +28,7 @@ clean:
 %.mo: %.po
        msgfmt -o $@ $<
 
-%.po: ikiwiki.pot
+%.po:
        @echo -n "Merging ikiwiki.pot and $@"
        @msgmerge $@ ikiwiki.pot -o $@.new 2>&1
 # Typically all that changes was a date or line number. I'd prefer not to