Merge branch 'micro' into maint
[platform/upstream/automake.git] / lib / Automake / Makefile.inc
1 ## Included by top-level Makefile for Automake.
2
3 ## Copyright (C) 1995-2013 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 2, 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 ## ---------------------------------------------------- ##
19 ##  Private perl modules used by automake and aclocal.  ##
20 ## ---------------------------------------------------- ##
21
22 perllibdir = $(pkgvdatadir)/Automake
23
24 dist_perllib_DATA = \
25   %D%/ChannelDefs.pm \
26   %D%/Channels.pm \
27   %D%/Condition.pm \
28   %D%/Configure_ac.pm \
29   %D%/DisjConditions.pm \
30   %D%/FileUtils.pm \
31   %D%/General.pm \
32   %D%/Getopt.pm \
33   %D%/Item.pm \
34   %D%/ItemDef.pm \
35   %D%/Language.pm \
36   %D%/Location.pm \
37   %D%/Options.pm \
38   %D%/Rule.pm \
39   %D%/RuleDef.pm \
40   %D%/Variable.pm \
41   %D%/VarDef.pm \
42   %D%/Version.pm \
43   %D%/XFile.pm \
44   %D%/Wrap.pm
45
46 nodist_perllib_DATA = %D%/Config.pm
47 CLEANFILES += $(nodist_perllib_DATA)
48
49 %D%/Config.pm: %D%/Config.in Makefile
50         $(AM_V_at)rm -f $@ $@-t
51         $(AM_V_at)$(MKDIR_P) %D%
52         $(AM_V_GEN)in=Config.in \
53           && $(do_subst) <$(srcdir)/%D%/Config.in >$@-t
54         $(generated_file_finalize)
55 EXTRA_DIST += %D%/Config.in
56
57 # vim: ft=automake noet