blob: 17fa5e55f3dc51f5d723c9c76856bc551fb654bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
## automake - create Makefile.in from Makefile.am
## Copyright (C) 1994-2015 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
am.dist.common-files += %VTEXI% %STAMPVTI%
## Don't give this rule a command (even '@:').
## %STAMPVTI% is always newer than %VTEXI%, so this rule is always
## triggered. If you equip this rule with a command, GNU make will
## assume %VTEXI% has been rebuild in the current directory and
## discard any %VTEXI% file found in a VPATH search.
%VTEXI%: %STAMPVTI%
## Depend on configure so that version number updates cause a rebuild.
## (Not configure.ac, because not all setups define the version number
## in this file.)
%STAMPVTI%: %TEXI% $(top_srcdir)/configure
@$(am.cmd.ensure-target-dir-exists)
@(set `$(SHELL) $(am.conf.aux-dir)/mdate-sh $<` \
&& echo "@set UPDATED $$1 $$2 $$3" \
&& echo "@set UPDATED-MONTH $$2 $$3" \
&& echo "@set EDITION $(VERSION)" \
&& echo "@set VERSION $(VERSION)") > %VTI%.$$$$.tmp || exit; \
if cmp -s %VTI%.$$$$.tmp %VTEXI%; then \
rm -f %VTI%.$$$$.tmp; \
else \
echo "Updating %VTEXI%" && mv -f %VTI%.$$$$.tmp %VTEXI%; \
fi
@cp %VTEXI% $@
am.clean.mostly.f += %VTI%.[0-9]*.tmp
am.clean.maint.f += %STAMPVTI% %VTEXI%
|