Reword the copyright notices to match what's suggested in GPLv3.
[platform/upstream/automake.git] / lib / Automake / Makefile.am
1 ## Process this file with automake to create Makefile.in
2
3 ## Copyright (C) 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
4
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 3, or (at your option)
8 ## any later version.
9
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.
14
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/>.
17
18 SUBDIRS = tests
19
20 perllibdir = $(pkgvdatadir)/Automake
21 dist_perllib_DATA = \
22   ChannelDefs.pm \
23   Channels.pm \
24   Condition.pm \
25   Configure_ac.pm \
26   DisjConditions.pm \
27   FileUtils.pm \
28   General.pm \
29   Item.pm \
30   ItemDef.pm \
31   Location.pm \
32   Options.pm \
33   Rule.pm \
34   RuleDef.pm \
35   Struct.pm \
36   Variable.pm \
37   VarDef.pm \
38   Version.pm \
39   XFile.pm \
40   Wrap.pm
41
42 nodist_perllib_DATA = \
43   Config.pm
44
45 CLEANFILES = $(nodist_perllib_DATA)
46
47 ## We can't use configure to do the substitution here; we must do it
48 ## by hand.  We use a funny notation here to avoid configure
49 ## substitutions in our text.
50 do_subst = in=`echo $@ | sed 's/\.[^.]*$$//'`; sed \
51   -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
52   -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
53   -e 's,[@]PERL[@],$(PERL),g' \
54   -e 's,[@]SHELL[@],$(SHELL),g' \
55   -e 's,[@]VERSION[@],$(VERSION),g' \
56   -e "s,[@]configure_input[@],Generated from $$in.in; do not edit by hand.,g" \
57   -e 's,[@]datadir[@],$(datadir),g'
58
59 ## This file depends on Makefile so it is rebuilt if $(VERSION),
60 ## $(datadir) or other do_subst'ituted variables change.
61 ## Use chmod a-w to prevent people from editing the wrong file by accident.
62 Config.pm: Config.in Makefile
63         rm -f Config.tmp Config.pm
64         $(do_subst) $(srcdir)/Config.in >Config.tmp
65         chmod +x Config.tmp
66         chmod a-w Config.tmp
67         mv -f Config.tmp Config.pm
68
69 EXTRA_DIST = Config.in