*** empty log message ***
[automake.git] / texi-version.am
blobbd59f0a84f07d80fb9f516660267b1ef7fa9164f
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 `cd $(srcdir) && $(SHELL) mdate-sh @TEXI@`" \
7           > version.tmp
8         echo "@set EDITION $(VERSION)" >> version.tmp
9         echo "@set VERSION $(VERSION)" >> version.tmp
10         if cmp -s version.tmp $(srcdir)/version.texi; then \
11           rm version.tmp;                       \
12         else                                    \
13           mv version.tmp $(srcdir)/version.texi; \
14         fi
15         echo timestamp > $(srcdir)/stamp-vti
17 mostlyclean-vti:
18         rm -f *.tmp
20 clean-vti:
22 distclean-vti:
24 maintainer-clean-vti:
25         rm -f stamp-vti version.texi