1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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
20 DIST_COMMON += %VTEXI% %STAMPVTI%
22 ## Don't give this rule a command (even `@:').
23 ## %STAMPVTI% is always newer than %VTEXI%, so this rule is always
24 ## triggered. If you equip this rule with a command, GNU make will
25 ## assume %VTEXI% has been rebuild in the current directory and
26 ## discard any %VTEXI% file found in a VPATH seatch.
27 %VTEXI%: %MAINTAINER-MODE% %STAMPVTI%
29 ## Depend on %CONFIGURE-AC% so that version number updates cause a
31 %STAMPVTI%: %TEXI% $(top_srcdir)/%CONFIGURE-AC%
32 @(dir=.; test -f ./%TEXI% || dir=$(srcdir); \
33 set `$(SHELL) %MDDIR%mdate-sh $$dir/%TEXI%`; \
34 echo "@set UPDATED $$1 $$2 $$3"; \
35 echo "@set UPDATED-MONTH $$2 $$3"; \
36 echo "@set EDITION $(VERSION)"; \
37 echo "@set VERSION $(VERSION)") > %VTI%.tmp
38 ## Use cp and rm here because some older "mv"s can't move across
39 ## filesystems. Furthermore, GNU "mv" in the AmigaDOS environment
41 @cmp -s %VTI%.tmp %VTEXI% \
42 || (echo "Updating %VTEXI%"; \
47 mostlyclean-am: mostlyclean-%VTI%
51 maintainer-clean-am: maintainer-clean-%VTI%
52 maintainer-clean-%VTI%:
53 %MAINTAINER-MODE% -rm -f %STAMPVTI% %VTEXI%
55 .PHONY: mostlyclean-%VTI% maintainer-clean-%VTI%