summaryrefslogtreecommitdiff
path: root/gettext-tools/examples
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-04-25 12:31:11 +0900
committerDaiki Ueno <ueno@gnu.org>2014-04-25 12:42:12 +0900
commit41a2f19194e11830064583a7d7b5f86743b941ad (patch)
tree79c21e3caba7843ccd4318b964c6f3064ce8c2a1 /gettext-tools/examples
parent7880eb189254a73b2ad5aa836768b09d529311fa (diff)
downloadgettext-41a2f19194e11830064583a7d7b5f86743b941ad.tar.gz
build: Turn update-po.sh into a Makefile rule
Suggested by Andreas Stricker in: <https://lists.gnu.org/archive/html/bug-gettext/2014-04/msg00020.html>. * configure.ac (maintainer-update-po): New recursive rule. * update-po.sh: Remove. * autogen.sh: Don't mention update-po.sh. * Makefile.am (maintainer-update-po-local): New rule. * gettext-runtime/Makefile.am (maintainer-update-po): New rule. * gettext-runtime/man/Makefile.am (update-man1): Remove; add explicit dependency on the executable to each .1 rule. * gettext-tools/man/Makefile.am (update-man1): Remove; add explicit dependency on the executable to each .1 rule.
Diffstat (limited to 'gettext-tools/examples')
-rw-r--r--gettext-tools/examples/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/gettext-tools/examples/Makefile.am b/gettext-tools/examples/Makefile.am
index 35ea4daf9..389489fcd 100644
--- a/gettext-tools/examples/Makefile.am
+++ b/gettext-tools/examples/Makefile.am
@@ -523,3 +523,8 @@ distdir1:
# Temporary directories created by po/Makefile.
clean-local:
-rm -rf tmp-hello-*
+
+maintainer-update-po: $(top_builddir)/config.status
+ $(SHELL) ./config.status --recheck
+ $(SHELL) ./config.status po/Makefile
+ cd po && $(MAKE) update-po