From: Bruno Haible Date: Sun, 7 Dec 2003 12:47:19 +0000 (+0000) Subject: Fix a build error. X-Git-Tag: v0.13.1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8508cbf7b6c43cf85ec13ab3fa8ab83d2090d0;p=thirdparty%2Fgettext.git Fix a build error. --- diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 0b01a4b77..9f090beaf 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,10 @@ +2003-12-06 Bruno Haible + + * hello-objc-gnustep/autoclean.sh: Also remove the *.lproj directories. + * hello-objc-gnustep/po/GNUmakefile: Include the general rules at the + beginning, not at the end, so that our .SUFFIXES tag has an effect. + ($(ENSTRINGSFILES)): Create the target directory. + 2003-12-06 Bruno Haible * hello-*/INSTALL: Update the installation instructions. diff --git a/gettext-tools/examples/hello-objc-gnustep/autoclean.sh b/gettext-tools/examples/hello-objc-gnustep/autoclean.sh index 2d20592f2..cc442512e 100755 --- a/gettext-tools/examples/hello-objc-gnustep/autoclean.sh +++ b/gettext-tools/examples/hello-objc-gnustep/autoclean.sh @@ -10,3 +10,4 @@ make distclean rm -f po/remove-potcdate.sed rm -f po/remove-potcdate.sin rm -f po/*.pot +rm -rf *.lproj diff --git a/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile index cebbbfe8b..4564d0be0 100644 --- a/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile +++ b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile @@ -43,6 +43,8 @@ COPYRIGHT_HOLDER = Yoyodyne, Inc. # which the translators can contact you. MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org +-include $(GNUSTEP_MAKEFILES)/rules.make + XGETTEXT = xgettext MSGMERGE = msgmerge MSGMERGE_UPDATE = msgmerge --update @@ -163,11 +165,10 @@ $(STRINGSFILES): $(POFILES) mv $@.tmp $@ $(ENSTRINGSFILES): $(DOMAIN).pot + mkdir -p $(patsubst %/,%, $(dir $@)) $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $(UNIXLOCALE_$(patsubst %.lproj,%, $(notdir $(patsubst %/,%, $(dir $@))))) --stringtable-output -o $@.tmp mv $@.tmp $@ echo-languages: @echo $(foreach lang, $(LINGUAS), $(NSLOCALE_$(lang))) --include $(GNUSTEP_MAKEFILES)/rules.make -