]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a build error.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Dec 2003 12:47:19 +0000 (12:47 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:28 +0000 (12:11 +0200)
gettext-tools/examples/ChangeLog
gettext-tools/examples/hello-objc-gnustep/autoclean.sh
gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile

index 0b01a4b77dcad5481518415b78db0a78994f1825..9f090beaf5ff3386b2d79110bdffdfba9f511230 100644 (file)
@@ -1,3 +1,10 @@
+2003-12-06  Bruno Haible  <bruno@clisp.org>
+
+       * 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  <bruno@clisp.org>
 
        * hello-*/INSTALL: Update the installation instructions.
index 2d20592f2ff03205f53276299d33738c5ffcae1e..cc442512e55da0292f0b4ef52a144871286b3c4f 100755 (executable)
@@ -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
index cebbbfe8b89b1837bff6fa92706d71c1b65ac219..4564d0be08689264529c0ea802f87322526b1ba8 100644 (file)
@@ -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
-