Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / doc / Makefile.am
index dbe617c..904ebe4 100644 (file)
@@ -1,5 +1,6 @@
 ## Makefile for the gettext-tools/doc subdirectory of GNU gettext
-## Copyright (C) 1995-1997, 2001-2007, 2009 Free Software Foundation, Inc.
+## Copyright (C) 1995-1997, 2001-2007, 2009, 2015 Free Software
+## Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -50,8 +51,7 @@ EXTRA_DIST += $(doc_DATA)
 EXTRA_DIST += \
   iso-639.sed iso-639-2.sed iso-3166.sed \
   ISO_639 ISO_639-2 ISO_3166 ISO_3166_de \
-  texi2html \
-  ChangeLog.0
+  texi2html
 
 iso-639.texi: ISO_639 iso-639.sed
        $(SED) -f $(srcdir)/iso-639.sed $(srcdir)/ISO_639 > iso-639.tmp
@@ -71,13 +71,14 @@ 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"; \
        echo "@set UPDATED-MONTH $$2 $$3"; \
        echo "@set EDITION $(VERSION)"; \
-       echo "@set VERSION $(VERSION)") > vti.tmp
+       echo "@set VERSION $(VERSION)"; \
+       echo "@set ARCHIVE-VERSION $(ARCHIVE_VERSION)") > vti.tmp
        cmp -s vti.tmp version.texi \
          || (echo "Updating version.texi"; \
              cp vti.tmp version.texi)