diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-04-25 12:31:11 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-04-25 12:42:12 +0900 |
commit | 41a2f19194e11830064583a7d7b5f86743b941ad (patch) | |
tree | 79c21e3caba7843ccd4318b964c6f3064ce8c2a1 /gettext-tools/examples | |
parent | 7880eb189254a73b2ad5aa836768b09d529311fa (diff) | |
download | gettext-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.am | 5 |
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 |