X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/41ef0ae80f45607d069b3b870a3379860bc00550..a530607f8ac4936402831d854f171fc8dc89ef4f:/po/makefile diff --git a/po/makefile b/po/makefile index 64573ceae..07dc51c07 100644 --- a/po/makefile +++ b/po/makefile @@ -40,6 +40,9 @@ $(POTFILES) : $(PO)/%.pot : --files-from=$(PO)/POTFILES_$*.in -o $(PO)/domains/$*/c.pot rm -f $(PO)/POTFILES_$*.in $(MSGCOMM) --more-than=0 $(PO)/domains/$*/c.pot $(PO)/domains/$*/sh.pot --output=$@ + # copy into the domain dirs to make rosetta happy + rm -f $(PO)/domains/$*/*.pot + cp $@ $(PO)/domains/$* $(PACKAGE)-all.pot: $(POTFILES) $(MSGCOMM) --more-than=0 $(POTFILES) --output=$@ @@ -62,7 +65,7 @@ $(MOFILES) : $(PO_DOMAINS)/%.mo : $(PO_DOMAINS)/%.po stats: for i in *.pot *.po; do echo -n "$$i: "; msgfmt --statistics $$i; done -binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES) update-po +binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES) .PHONY: update-po update-po: $(PACKAGE)-all.pot @@ -74,7 +77,7 @@ update-po: $(PACKAGE)-all.pot done clean: clean/local -clean/local: +clean/local: update-po rm -f $(MOFILES) $(LANG_POFILES) $(PO)/*.d # Include the dependencies that are available