GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / toolchains / hndtools-arm-linux-2.6.36-uclibc-4.5.3 / share / automake-1.11 / am / texi-vers.am
blob680630b46f5c0d4ac9fed3b7cc25b563d320329c
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003,
3 ## 2004, 2005  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)
8 ## any later version.
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, see <http://www.gnu.org/licenses/>.
18 DIST_COMMON += %VTEXI% %STAMPVTI%
20 ## Don't give this rule a command (even `@:').
21 ## %STAMPVTI% is always newer than %VTEXI%, so this rule is always
22 ## triggered.  If you equip this rule with a command, GNU make will
23 ## assume %VTEXI% has been rebuild in the current directory and
24 ## discard any %VTEXI% file found in a VPATH search.
25 %VTEXI%: %MAINTAINER-MODE% %STAMPVTI%
27 ## Depend on configure so that version number updates cause a rebuild.
28 ## (Not configure.ac, because not all setups define the version number
29 ## in this file.)
30 %STAMPVTI%: %TEXI% $(top_srcdir)/configure
31 ## It is wrong to have %STAMPVTI% dependent on %DIRSTAMP%, because
32 ## %STAMPVTI% is distributed and %DIRSTAMP% isn't: a distributed file
33 ## should never be dependent upon a non-distributed built file.
34 ## Therefore we ensure that %DIRSTAMP% exists in the rule.
35 ?DIRSTAMP?      test -f %DIRSTAMP% || $(MAKE) $(AM_MAKEFLAGS) %DIRSTAMP%
36         @(dir=.; test -f ./%TEXI% || dir=$(srcdir); \
37         set `$(SHELL) %MDDIR%mdate-sh $$dir/%TEXI%`; \
38         echo "@set UPDATED $$1 $$2 $$3"; \
39         echo "@set UPDATED-MONTH $$2 $$3"; \
40         echo "@set EDITION $(VERSION)"; \
41         echo "@set VERSION $(VERSION)") > %VTI%.tmp
42 ## Use cp and rm here because some older "mv"s can't move across
43 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
44 ## can't handle this.
45         @cmp -s %VTI%.tmp %VTEXI% \
46           || (echo "Updating %VTEXI%"; \
47               cp %VTI%.tmp %VTEXI%)
48         -@rm -f %VTI%.tmp
49         @cp %VTEXI% $@
51 mostlyclean-am: mostlyclean-%VTI%
52 mostlyclean-%VTI%:
53         -rm -f %VTI%.tmp
55 maintainer-clean-am: maintainer-clean-%VTI%
56 maintainer-clean-%VTI%:
57 %MAINTAINER-MODE%       -rm -f %STAMPVTI% %VTEXI%
59 .PHONY: mostlyclean-%VTI% maintainer-clean-%VTI%