X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=po%2Fautomake.mk;h=3d68a8f281f963427340794bfef8121ebaa3cfc6;hb=refs%2Ftags%2Fsid-i386-build159;hp=e7b130963647ebf9e672570d381ae7d0b970269a;hpb=c3580361c52f0246f71d9b727cb9e5bd0d8497bb;p=pspp-builds.git diff --git a/po/automake.mk b/po/automake.mk index e7b13096..3d68a8f2 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -4,7 +4,7 @@ XGETTEXT=xgettext MSGMERGE=msgmerge MSGFMT=msgfmt -POFILES=po/en_GB.po po/nl.po po/pt_BR.po +POFILES=po/ca.po po/en_GB.po po/es.po po/nl.po po/pt_BR.po POTFILE=po/$(DOMAIN).pot @@ -52,5 +52,13 @@ uninstall-hook: EXTRA_DIST += $(POFILES) $(POTFILE) -CLEANFILES += $(POFILES) $(GMOFILES) $(POTFILE) +CLEANFILES += $(GMOFILES) $(POTFILE) +# Clean $(POFILES) from build directory but not if that's the same as +# the source directory. +po_CLEAN: + @if test "$(srcdir)" != .; then \ + echo rm -f $(POFILES); \ + rm -f $(POFILES); \ + fi +CLEAN_LOCAL += po_CLEAN