(TAGS): Always supply 'else' clause to 'if'
[automake.git] / texi-version.am
blobdfa65c337c4f7bf0ea64e15ab5fff3654fff91c7
1 version.texi: stamp-vti
3 # Depend on configure.in so that version number updates cause a
4 # rebuild.
5 stamp-vti: @TEXI@ $(top_srcdir)/configure.in
6         echo "@set UPDATED `date -r $(srcdir)/@TEXI@ '+%B %Y'`" > version.tmp
7         echo "@set EDITION $(VERSION)" >> version.tmp
8         echo "@set VERSION $(VERSION)" >> version.tmp
9         if cmp -s version.tmp $(srcdir)/version.texi; then \
10           rm version.tmp;                       \
11         else                                    \
12           mv version.tmp $(srcdir)/version.texi; \
13         fi
14         touch $(srcdir)/stamp-vti