summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-