* automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE
[platform/upstream/automake.git] / lib / am / texi-vers.am
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
3
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
8
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17 ## 02111-1307, USA.
18 $(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@stamp-@VTI@
19         @:
20
21 ## Depend on configure.in so that version number updates cause a
22 ## rebuild.
23 $(srcdir)/stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
24         @echo "@set UPDATED `cd $(srcdir) \
25           && $(SHELL) @MDDIR@/mdate-sh @TEXI@`" > @VTI@.tmp
26         @echo "@set EDITION $(VERSION)" >> @VTI@.tmp
27         @echo "@set VERSION $(VERSION)" >> @VTI@.tmp
28 ## Use cp and rm here because some older "mv"s can't move across
29 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
30 ## can't handle this.
31         @cmp -s @VTI@.tmp $(srcdir)/@VTEXI@ \
32           || (echo "Updating $(srcdir)/@VTEXI@"; \
33               cp @VTI@.tmp $(srcdir)/@VTEXI@)
34         -@rm -f @VTI@.tmp
35         @cp $(srcdir)/@VTEXI@ $@
36
37 mostlyclean-@VTI@:
38         -rm -f @VTI@.tmp
39
40 clean-@VTI@:
41
42 distclean-@VTI@:
43
44 maintainer-clean-@VTI@:
45         -@MAINTAINER_MODE_TRUE@rm -f stamp-@VTI@ @VTEXI@
46