diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-04-22 11:19:38 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-04-22 14:50:28 +0900 |
commit | fbf4e276c81d85c56fded43306fe025db8722597 (patch) | |
tree | ccd86af1da751747d63cf9c0a8de874661ade194 /gettext-tools/doc/Makefile.am | |
parent | 1431ba78ad26de5e9826e14586c6be0fde314ca9 (diff) | |
download | external_gettext-fbf4e276c81d85c56fded43306fe025db8722597.zip external_gettext-fbf4e276c81d85c56fded43306fe025db8722597.tar.gz external_gettext-fbf4e276c81d85c56fded43306fe025db8722597.tar.bz2 |
build: Use git-version-gen intead of version.sh
* version.sh: Remove.
* autogen.sh: Import git-version-gen from Gnulib.
* Makefile.am (EXTRA_DIST): Add $(top_srcdir)/.version.
(BUILT_SOURCES): Likewise.
($(top_srcdir)/.version): New rule.
(dist-hook): New rule.
* configure.ac: Use git-version-gen in AC_INIT.
* gettext-runtime/configure.ac: Likewise.
* gettext-tools/configure.ac: Likewise.
* gettext-tools/examples/configure.ac: Likewise.
* gettext-runtime/man/Makefile.am: Refer to .version instead of
version.sh.
* gettext-tools/doc/Makefile.am: Likewise.
* gettext-tools/man/Makefile.am: Likewise.
Diffstat (limited to 'gettext-tools/doc/Makefile.am')
-rw-r--r-- | gettext-tools/doc/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/doc/Makefile.am b/gettext-tools/doc/Makefile.am index dbe617c..708b1cc 100644 --- a/gettext-tools/doc/Makefile.am +++ b/gettext-tools/doc/Makefile.am @@ -71,7 +71,7 @@ iso-3166.texi: ISO_3166 iso-3166.sed # The dependencies of stamp-vti generated by automake are incomplete. # So we have to duplicate the entire rule which would otherwise be generated # by automake. -$(srcdir)/stamp-vti: $(info_TEXINFOS) $(gettext_TEXINFOS) $(top_srcdir)/../version.sh +$(srcdir)/stamp-vti: $(info_TEXINFOS) $(gettext_TEXINFOS) $(top_srcdir)/../.version (dir=.; test -f ./gettext.texi || dir=$(srcdir); \ set `$(SHELL) $(top_srcdir)/../build-aux/mdate-sh $$dir/gettext.texi`; \ echo "@set UPDATED $$1 $$2 $$3"; \ |