From 68c1f2b47a5c218bfe24f058eab4d080f71889d9 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sun, 25 Nov 2012 16:39:12 +0100 Subject: [PATCH] po/it/Makefile: minor fixes Signed-off-by: Davide Madrisan --- po/it/Makefile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/po/it/Makefile b/po/it/Makefile index a2f9eee..f7e2432 100644 --- a/po/it/Makefile +++ b/po/it/Makefile @@ -51,16 +51,16 @@ merge-pot-files: $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl)) /usr/bin/msguniq --use-first --no-location --no-wrap \ $(srcdir)/po/$(PACKAGE)-all.pot \ -o $(srcdir)/po/$(PACKAGE).pot && \ - echo "... $(PACKAGE)-all.pot [PASSED]" || \ + echo "... $(PACKAGE)-all.pot [DONE]" || \ { echo ".. $(PACKAGE)-all.pot [FAILED]"; exit 1; } locales: merge-pot-files @echo "Generating global locale...";\ /usr/bin/msgmerge --update --no-fuzzy-matching --indent \ $(PACKAGE).po \ - $(srcdir)/po/$(PACKAGE).pot;\ - echo "... $(PACKAGE)-all.po [DONE]" - + $(srcdir)/po/$(PACKAGE).pot && \ + echo "... $(PACKAGE).po [DONE]" || \ + { echo ".. $(PACKAGE).po [FAILED]"; exit 1; } install: locales @destdir="$(DESTDIR)$(localedir)/$(LANG)/LC_MESSAGES";\ @@ -68,12 +68,9 @@ install: locales $(INSTALL_DATA) $(PACKAGE).mo $$destdir/$(PACKAGE).mo uninstall: - @for f in $(pck_catalogs:.po=); do\ - echo "rm -f $(DESTDIR)$(localedir)/$(LANG)/LC_MESSAGES/$${f}.mo";\ - rm -f $(DESTDIR)$(localedir)/$(LANG)/LC_MESSAGES/$${f}.mo;\ - done + rm -f $(DESTDIR)$(localedir)/$(LANG)/LC_MESSAGES/$(PACKAGE).mo clean: - rm -f $(pck_catalogs:.po=.mo) - rm -f $(srcdir)/po/$(PACKAGE)-all.po + rm -f $(PACKAGE).mo + rm -f $(srcdir)/po/*.pot rm -f *.po~