+2001-02-23 Akim Demaille <akim@epita.fr>
+
+ * automake.in: Formatting and mying changes.
+
+
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in (&handle_man_pages): Let install-man and
}
# Value here doesn't matter; for targets we only note
# existence.
+# FIXME: I don't understand the next line at all, it seems dead wrong --akim
$contents{$1} = 1;
$targets{$1} = 1;
my $cond_string = join ('', @conditional_stack);
}
# Generate copyright header for generated Makefile.in.
- local ($ov) = $output_vars;
+ my $ov = $output_vars;
$output_vars = ("# $in_file_name generated automatically by automake "
. $VERSION . " from $am_file_name\n");
$output_vars .= $gen_copyright;
# Now go through and delete all the variables that the user did
# not change.
- local ($var);
- foreach $var (keys %saved_contents)
+ foreach my $var (keys %saved_contents)
{
if ($contents{$var} eq $saved_contents{$var})
{
# end.
&define_standard_variables;
$output_vars .= $ov;
-
}
################################################################
# include EXEEXT when in Cygwin32 mode.
if ($seen_exeext && $primary eq 'PROGRAMS')
{
- local (@conds) = &variable_conditions ($one_name);
- local (@one_binlist);
+ my @conds = &variable_conditions ($one_name);
+
+ # FIXME: This code is mad, rewrite!
# FIXME: this definitely loses aesthetically; it
# redefines $ONE_NAME. Instead we should arrange for
if (! @conds)
{
- @one_binlist = ();
+ my @one_binlist = ();
foreach $rcurs (&variable_value_as_list ($one_name, ''))
{
if ($rcurs =~ /\./ || $rcurs =~ /^\@.*\@$/)
}
else
{
- local ($cond);
local ($condvals) = '';
- foreach $cond (@conds)
+ foreach my $cond (@conds)
{
- @one_binlist = ();
- local (@condval) = &variable_value_as_list ($one_name,
- $cond);
- foreach $rcurs (@condval)
+ my @one_binlist = ();
+ my @condval = &variable_value_as_list ($one_name,
+ $cond);
+ foreach my $rcurs (@condval)
{
if ($rcurs =~ /\./ || $rcurs =~ /^\@.*\@$/)
{
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
install-@DIR@LISP: $(@DIR@_LISP) $(ELCFILES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(@NDIR@dir)
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
install-@DIR@PYTHON: $(@DIR@_PYTHON)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(@DIR@dir)
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
install-@DIR@LISP: $(@DIR@_LISP) $(ELCFILES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(@NDIR@dir)
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
install-@DIR@PYTHON: $(@DIR@_PYTHON)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(@DIR@dir)
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,