X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/d0804acdc2974541bdb15558adf26f2d3dc81818..e910acfbc91a6132b82bf4f33b19574d61da3169:/po/Makefile diff --git a/po/Makefile b/po/Makefile index 52e702e47..084d011f0 100644 --- a/po/Makefile +++ b/po/Makefile @@ -1,11 +1,13 @@ # List here all source files with translatable strings. POTFILES=$(sort $(shell find ../IkiWiki -type f -name \*.pm)) \ - ../ikiwiki.in ../IkiWiki.pm + ../ikiwiki.in ../IkiWiki.pm ../auto.setup 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