summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-12-07 12:47:19 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:28 +0200
commitbd8508cbf7b6c43cf85ec13ab3fa8ab83d2090d0 (patch)
tree37e681104a8c0252f5f04ed1955cad8423c97a4d /gettext-tools
parent97ea0fa4a854ca761c62272814cec58d35895c17 (diff)
downloadexternal_gettext-bd8508cbf7b6c43cf85ec13ab3fa8ab83d2090d0.zip
external_gettext-bd8508cbf7b6c43cf85ec13ab3fa8ab83d2090d0.tar.gz
external_gettext-bd8508cbf7b6c43cf85ec13ab3fa8ab83d2090d0.tar.bz2
Fix a build error.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/examples/ChangeLog7
-rwxr-xr-xgettext-tools/examples/hello-objc-gnustep/autoclean.sh1
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile5
3 files changed, 11 insertions, 2 deletions
diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog
index 0b01a4b..9f090be 100644
--- a/gettext-tools/examples/ChangeLog
+++ b/gettext-tools/examples/ChangeLog
@@ -1,5 +1,12 @@
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.
* hello-c++-qt/BUGS: New file.
* hello-c++-kde/BUGS: New file.
diff --git a/gettext-tools/examples/hello-objc-gnustep/autoclean.sh b/gettext-tools/examples/hello-objc-gnustep/autoclean.sh
index 2d20592..cc44251 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 cebbbfe..4564d0b 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
-