# variable expansion; generating many separate includes
# seems safest.
$output_rules .= "\n";
- foreach my $iter (@deplist)
+ foreach my $depfile (@deplist)
{
- $output_rules .= subst ('AMDEP_TRUE') . "-include $iter\n";
+ $output_rules .= subst ('AMDEP_TRUE') . "-include $depfile\n";
+ $clean_dirs{dirname ($depfile)} = DIST_CLEAN;
}
-
- # Compute the set of directories to remove in distclean-depend.
- my @depdirs = uniq (map { dirname ($_) } @deplist);
- $output_rules .= &file_contents ('depend',
- new Automake::Location,
- DEPDIRS => "@depdirs");
}
}
else
+++ /dev/null
-## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994-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/>.
-
-am__distclean_dirs += %DEPDIRS%
-am__maintclean_dirs += %DEPDIRS%