diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-03-28 22:50:27 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-03-28 22:50:27 +0200 |
commit | 84bf694bcba198d700a3214a0f1be7e24a6c8755 (patch) | |
tree | a2ec559833a33b0fcbf1b6e07dfc7676179db296 /lib/Automake | |
parent | 2e343fc7c69cee628a83759edc33f336eedfa1d0 (diff) | |
parent | 26a63b3be6f10afce917bcbc93c69aa80b29a919 (diff) | |
download | automake-84bf694bcba198d700a3214a0f1be7e24a6c8755.tar.gz |
Merge branch 'maint'
* maint:
cosmetics: don't make the generated Config.pm executable
maint: reduce use of recursion in automake build system
+ Extra non-trivial extra edits follows.
* lib/Makefile.am (amdir): Deleted this definition, it is already
provided by a proper AC_SUBST in configure.ac.
(dist_am_DATA): Remove 'am/ansi2knr.am', 'am/check-html.am' and
'am/multilib.am'.
(dist_perllib_DATA): Remove 'Automake/Struct.pm'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/Automake')
-rw-r--r-- | lib/Automake/Makefile.am | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/lib/Automake/Makefile.am b/lib/Automake/Makefile.am deleted file mode 100644 index b5c93b11e..000000000 --- a/lib/Automake/Makefile.am +++ /dev/null @@ -1,67 +0,0 @@ -## Process this file with automake to create Makefile.in - -# Copyright (C) 2001-2012 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/>. - -perllibdir = $(pkgvdatadir)/Automake -dist_perllib_DATA = \ - ChannelDefs.pm \ - Channels.pm \ - Condition.pm \ - Configure_ac.pm \ - DisjConditions.pm \ - FileUtils.pm \ - General.pm \ - Getopt.pm \ - Item.pm \ - ItemDef.pm \ - Location.pm \ - Options.pm \ - Rule.pm \ - RuleDef.pm \ - Variable.pm \ - VarDef.pm \ - Version.pm \ - XFile.pm \ - Wrap.pm - -nodist_perllib_DATA = \ - Config.pm - -CLEANFILES = $(nodist_perllib_DATA) - -## We can't use configure to do the substitution here; we must do it -## by hand. We use a funny notation here to avoid configure -## substitutions in our text. -do_subst = in=`echo $@ | sed 's/\.[^.]*$$//'`; sed \ - -e 's,[@]APIVERSION[@],$(APIVERSION),g' \ - -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ - -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \ - -e 's,[@]PERL[@],$(PERL),g' \ - -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \ - -e 's,[@]SHELL[@],$(SHELL),g' \ - -e 's,[@]VERSION[@],$(VERSION),g' \ - -e "s,[@]configure_input[@],Generated from $$in.in; do not edit by hand.,g" \ - -e 's,[@]datadir[@],$(datadir),g' - -## This file depends on Makefile so it is rebuilt if $(VERSION), -## $(datadir) or other do_subst'ituted variables change. -## Use chmod a-w to prevent people from editing the wrong file by accident. -Config.pm: Config.in Makefile - $(AM_V_at)rm -f $@ $@-t - $(AM_V_GEN)$(do_subst) $(srcdir)/Config.in >$@-t - $(AM_V_at)chmod a+x,a-w $@-t && mv -f $@-t $@ - -EXTRA_DIST = Config.in |