Bug fixes.
[automake.git] / texi-version.am
blob62b5d44d7a1f3dd56f7f6da71f3e1418c2b39726
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