From: Bruno Haible Date: Wed, 17 Oct 2018 07:28:11 +0000 (+0200) Subject: examples: hello-objc-gnustep: Fix 'make distclean'. X-Git-Tag: v0.20~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c313e571abb25a4d1fce43140c77cd21bdb0fa2;p=thirdparty%2Fgettext.git examples: hello-objc-gnustep: Fix 'make distclean'. * gettext-tools/examples/hello-objc-gnustep/GNUmakefile (internal-distclean): Remove the *.lproj directories. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile (internal-clean): Remove remove-potcdate.sed. --- diff --git a/gettext-tools/examples/hello-objc-gnustep/GNUmakefile b/gettext-tools/examples/hello-objc-gnustep/GNUmakefile index fe4b6842c..ba4c565d4 100644 --- a/gettext-tools/examples/hello-objc-gnustep/GNUmakefile +++ b/gettext-tools/examples/hello-objc-gnustep/GNUmakefile @@ -34,3 +34,6 @@ Hello_C_FILES = include $(GNUSTEP_MAKEFILES)/aggregate.make include $(GNUSTEP_MAKEFILES)/application.make -include GNUmakefile.postamble + +internal-distclean:: + rm -rf *.lproj diff --git a/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile index 00ee52347..eda89818b 100644 --- a/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile +++ b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile @@ -158,6 +158,9 @@ $(POFILES): $(DOMAIN).pot $(MAKE) $${lang}.po-create; \ fi +internal-clean:: + rm -f remove-potcdate.sed + update-po: $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)