1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2001
3 ## Free Software Foundation, Inc.
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 ?MAINTAINER_MODE?$(srcdir)/%VTEXI%: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-%VTI%
20 ?!MAINTAINER_MODE?$(srcdir)/%VTEXI%: $(srcdir)/stamp-%VTI%
23 ## Depend on %CONFIGURE_AC% so that version number updates cause a
25 $(srcdir)/stamp-%VTI%: %TEXI% $(top_srcdir)/%CONFIGURE_AC%
26 @(set `$(SHELL) %MDDIR%mdate-sh $(srcdir)/%TEXI%`; \
27 echo "@set UPDATED $$1 $$2 $$3"; \
28 echo "@set UPDATED-MONTH $$2 $$3"; \
29 echo "@set EDITION $(VERSION)"; \
30 echo "@set VERSION $(VERSION)") > %VTI%.tmp
31 ## Use cp and rm here because some older "mv"s can't move across
32 ## filesystems. Furthermore, GNU "mv" in the AmigaDOS environment
34 @cmp -s %VTI%.tmp $(srcdir)/%VTEXI% \
35 || (echo "Updating $(srcdir)/%VTEXI%"; \
36 cp %VTI%.tmp $(srcdir)/%VTEXI%)
38 @cp $(srcdir)/%VTEXI% $@
40 mostlyclean-am: mostlyclean-%VTI%
44 maintainer-clean-am: maintainer-clean-%VTI%
45 maintainer-clean-%VTI%:
46 ?MAINTAINER_MODE?@MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-%VTI% $(srcdir)/%VTEXI%
47 ?!MAINTAINER_MODE? -rm -f $(srcdir)/stamp-%VTI% $(srcdir)/%VTEXI%
49 .PHONY: mostlyclean-%VTI% maintainer-clean-%VTI%