]> git.saurik.com Git - apt.git/blobdiff - po/makefile
* makefile fixes to make apt rosetta friendly
[apt.git] / po / makefile
index bb8118c779aaf03ec51b474ed3c1a4b0140b2750..30af41a16cc39cd3a30418650316acb89b4f320e 100644 (file)
@@ -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=$@