bin: Rely only on the shebang line
[automake.git] / lib / Automake / local.mk
blobfbb21f3f1c61d7f7580328672000be5a88cd323b
1 ## -*- makefile-automake -*-
2 ## Copyright (C) 1995-2018 Free Software Foundation, Inc.
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
17 ## ---------------------------------------------------- ##
18 ## Private perl modules used by automake and aclocal. ##
19 ## ---------------------------------------------------- ##
21 perllibdir = $(pkgvdatadir)/Automake
23 dist_perllib_DATA = \
24 %D%/ChannelDefs.pm \
25 %D%/Channels.pm \
26 %D%/Condition.pm \
27 %D%/Configure_ac.pm \
28 %D%/DisjConditions.pm \
29 %D%/FileUtils.pm \
30 %D%/General.pm \
31 %D%/Getopt.pm \
32 %D%/Item.pm \
33 %D%/ItemDef.pm \
34 %D%/Language.pm \
35 %D%/Location.pm \
36 %D%/Options.pm \
37 %D%/Rule.pm \
38 %D%/RuleDef.pm \
39 %D%/Variable.pm \
40 %D%/VarDef.pm \
41 %D%/Version.pm \
42 %D%/XFile.pm \
43 %D%/Wrap.pm
45 nodist_perllib_DATA = %D%/Config.pm
46 CLEANFILES += $(nodist_perllib_DATA)
48 %D%/Config.pm: %D%/Config.in Makefile
49 $(AM_V_at)rm -f $@ $@-t
50 $(AM_V_at)$(MKDIR_P) %D%
51 $(AM_V_GEN)in=Config.in \
52 && $(do_subst) <$(srcdir)/%D%/Config.in >$@-t
53 $(generated_file_finalize)
54 EXTRA_DIST += %D%/Config.in
56 # vim: ft=automake noet