]> sourceware.org Git - automake.git/commitdiff
* automake.in (@installdirs): Remove.
authorAkim Demaille <akim@epita.fr>
Mon, 26 Feb 2001 09:14:42 +0000 (09:14 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 26 Feb 2001 09:14:42 +0000 (09:14 +0000)
(&file_contents): Be able to grow Automake macros with `+='.
(&handle_texinfo, &handle_man_pages, &am_install_var): Let your
files define _am_installdirs.
(&handle_installdirs): Remove the code, just output `install.am'.
* install.am: New.
* data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
* python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).

27 files changed:
ChangeLog
Makefile.in
automake.in
data.am
header.am
install.am [new file with mode: 0644]
lib/am/data.am
lib/am/header.am
lib/am/install.am [new file with mode: 0644]
lib/am/libs.am
lib/am/lisp.am
lib/am/ltlib.am
lib/am/mans.am
lib/am/progs.am
lib/am/python.am
lib/am/scripts.am
lib/am/texinfos.am
libs.am
lisp.am
ltlib.am
m4/Makefile.in
mans.am
progs.am
python.am
scripts.am
tests/Makefile.in
texinfos.am

index 963737d472a01af0f9f018aa5dfd615b0e94777c..7bb7198453cfff811cd422f31c7666fa1a07a9ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2001-02-26  Akim Demaille  <akim@epita.fr>
+
+       * automake.in (@installdirs): Remove.
+       (&file_contents): Be able to grow Automake macros with `+='.
+       (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
+       files define _am_installdirs.
+       (&handle_installdirs): Remove the code, just output `install.am'.
+       * install.am: New.
+       * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
+       * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
+
 2001-02-26  Akim Demaille  <akim@epita.fr>
 
        * tests/instdata2.test (libexec_DATA): Exercise more
index 13359ea772f1402d1987dede5835dd63953a8e2e..9122b3de86bda93e909d1b00bc5aa9bece5db4c8 100644 (file)
@@ -47,7 +47,6 @@ INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_FLAG =
 INSTALL_HEADER = $(INSTALL_DATA)
 transform = @program_transform_name@
 
@@ -159,7 +158,6 @@ automake: $(top_builddir)/config.status automake.in
        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
 aclocal: $(top_builddir)/config.status aclocal.in
        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
-
 install-binSCRIPTS: $(bin_SCRIPTS)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(bindir)
@@ -223,7 +221,6 @@ automake.dvi: automake.texi $(srcdir)/version.texi
 DVIPS = dvips
 .dvi.ps:
        $(DVIPS) $< -o $@
-
 ?EXEC?insexec-data-am: install-info-am
 ?!EXEC?install-data-am: install-info-am
 install-info-am: $(INFO_DEPS)
@@ -291,7 +288,6 @@ maintainer-clean-aminfo:
            rm -f $$i-[0-9]*; \
          fi; \
        done
-
 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
@@ -309,7 +305,6 @@ uninstall-dist_pkgdataDATA:
          echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
          rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
        done
-
 install-dist_scriptDATA: $(dist_script_DATA)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(scriptdir)
@@ -517,12 +512,10 @@ all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
 install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
+
 installdirs: installdirs-recursive
 installdirs-am:
-       $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
-               $(DESTDIR)$(dist_pkgdatadir) \
-               $(DESTDIR)$(dist_scriptdir)
-
+       $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
 
 mostlyclean-generic:
 
index 84fe295d630a1e28faa447c4e2c797f6694fc42d..9973107fb0d35365852f0c6550132ddbee0b85ab 100755 (executable)
@@ -2465,7 +2465,6 @@ sub handle_texinfo
 
     if (! defined $options{'no-installinfo'})
     {
-       push (@installdirs, '$(DESTDIR)$(infodir)');
        # Make sure documentation is made and installed first.  Use
        # $(INFO_DEPS), not 'info', because otherwise recursive makes
        # get run twice during "make all".
@@ -2538,8 +2537,6 @@ sub handle_man_pages
     foreach my $sect (sort keys %sections)
     {
        &define_variable ('man' . $sect . 'dir', '$(mandir)/man' . $sect);
-       push (@installdirs, '$(DESTDIR)$(mandir)/man' . $sect)
-           unless defined $options{'no-installman'};
        $output_rules .= &file_contents ('mans',
                                         &transform ('SECTION', $sect));
     }
@@ -3561,26 +3558,9 @@ sub handle_footer
 # Deal with installdirs target.
 sub handle_installdirs
 {
-    # GNU Makefile standards recommend this.
-    if (&variable_defined ('SUBDIRS'))
-    {
-       # We create a separate `-am' target so that the -recursive
-       # rule will work correctly.
-       $output_rules .= ("installdirs: installdirs-recursive\n"
-                         . "installdirs-am:\n");
-       &depend ('.PHONY', 'installdirs-am');
-    }
-    else
-    {
-       $output_rules .= "installdirs:\n";
-    }
-    &depend ('.PHONY', 'installdirs');
-    if (@installdirs)
-    {
-       &pretty_print_rule ("\t" . '$(mkinstalldirs) ', "\t\t",
-                           @installdirs);
-    }
-    $output_rules .= "\n";
+    $output_rules .= &file_contents
+      ('install',
+       transform ('_am_installdirs' => $am_var_defs{'_am_installdirs'}));
 }
 
 # There are several targets which need to be merged.  This is because
@@ -6564,8 +6544,6 @@ sub initialize_per_input
     %dist_dirs = ();
 
     # List of dependencies for the obvious targets.
-    @installdirs = ();
-
     @info = ();
     @dvi = ();
     @all = ();
@@ -6882,12 +6860,21 @@ sub file_contents
        }
        elsif (/$MACRO_PATTERN/mso)
        {
-           $result_vars .= "$separator$comment$_\n"
-             unless defined $contents{$1};
-           $comment = $separator = '';
-           &prog_error ("$file:$.: macro \`$1' with trailing backslash")
+           my ($var, $type, $val) = ($1, $2, $3);
+           &prog_error ("$file:$.: macro \`$var' with trailing backslash")
              if /\\$/;;
-           $am_var_defs{$1} = $3;
+           # Accumulating variables must not be output.
+           if ($type eq '+')
+             {
+               $am_var_defs{$var} .= ($am_var_defs{$var} && ' ') . $val;
+             }
+           else
+             {
+               $am_var_defs{$var} = $val;
+               $result_vars .= "$separator$comment$_\n"
+                 unless defined $contents{$var};
+             }
+           $comment = $separator = '';
        }
        else
        {
diff --git a/data.am b/data.am
index e7bcba64b1f47d9255521e0cbb2795bb88c073a0..2b11f09b6717f67f2b6fe3919c8a422be011d31f 100644 (file)
--- a/data.am
+++ b/data.am
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@DATA
 ?!EXEC?.PHONY install-data-am: install-@DIR@DATA
 install-@DIR@DATA: $(@DIR@_DATA)
index d8ddf1d89cfeff9b9c9ccb5b91bbae1bac45d902..4f1766c2b31bb5a5bee4b6a4d7df03d5bbb79e2a 100644 (file)
--- a/header.am
+++ b/header.am
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@HEADERS
 ?!EXEC?.PHONY install-data-am: install-@DIR@HEADERS
 install-@DIR@HEADERS: $(@DIR@_HEADERS)
diff --git a/install.am b/install.am
new file mode 100644 (file)
index 0000000..4de8743
--- /dev/null
@@ -0,0 +1,26 @@
+## automake - create Makefile.in from Makefile.am
+## Copyright 2001 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, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+?SUBDIRS?.PHONY: installdirs installdirs-am installdirs-recursive
+?SUBDIRS?installdirs: installdirs-recursive
+?SUBDIRS?installdirs-am:
+?SUBDIRS??_am_installdirs?     $(mkinstalldirs) @_am_installdirs@
+
+?!SUBDIRS?.PHONY: installdirs
+?!SUBDIRS?installdirs:
+?!SUBDIRS??_am_installdirs?    $(mkinstalldirs) @_am_installdirs@
index e7bcba64b1f47d9255521e0cbb2795bb88c073a0..2b11f09b6717f67f2b6fe3919c8a422be011d31f 100644 (file)
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@DATA
 ?!EXEC?.PHONY install-data-am: install-@DIR@DATA
 install-@DIR@DATA: $(@DIR@_DATA)
index d8ddf1d89cfeff9b9c9ccb5b91bbae1bac45d902..4f1766c2b31bb5a5bee4b6a4d7df03d5bbb79e2a 100644 (file)
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@HEADERS
 ?!EXEC?.PHONY install-data-am: install-@DIR@HEADERS
 install-@DIR@HEADERS: $(@DIR@_HEADERS)
diff --git a/lib/am/install.am b/lib/am/install.am
new file mode 100644 (file)
index 0000000..4de8743
--- /dev/null
@@ -0,0 +1,26 @@
+## automake - create Makefile.in from Makefile.am
+## Copyright 2001 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, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+?SUBDIRS?.PHONY: installdirs installdirs-am installdirs-recursive
+?SUBDIRS?installdirs: installdirs-recursive
+?SUBDIRS?installdirs-am:
+?SUBDIRS??_am_installdirs?     $(mkinstalldirs) @_am_installdirs@
+
+?!SUBDIRS?.PHONY: installdirs
+?!SUBDIRS?installdirs:
+?!SUBDIRS??_am_installdirs?    $(mkinstalldirs) @_am_installdirs@
index b5b935fe827af4e860e29fef5631db353a99dcd0..5de5cf5495a68b36e95790f4ae87515a6ae476fc 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@LIBRARIES
 install-@DIR@LIBRARIES: $(@DIR@_LIBRARIES)
        @$(NORMAL_INSTALL)
index 0c020a034a815fc357149f8adcf90f3f83057c86..dbc2257cc0b509260ba0aea47db043636eb62d63 100644 (file)
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@LISP
 ?!EXEC?.PHONY install-data-am: install-@DIR@LISP
 install-@DIR@LISP: $(@DIR@_LISP) $(ELCFILES)
index cb10a2bc7974def0c8e85b4346620efd2c777496..2961f0b4cc7a3667ca30e161c576c29bd0257f1b 100644 (file)
@@ -17,6 +17,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@LTLIBRARIES
 install-@DIR@LTLIBRARIES: $(@DIR@_LTLIBRARIES)
        @$(NORMAL_INSTALL)
index 7c57d0cf522b4330273519f280a50aefbf1f20c9..e67e03c57097e1279f190d519cccaaa682aca920 100644 (file)
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+?INSTALL_MAN?_am_installdirs += $(DESTDIR)$(man@SECTION@dir)
 .PHONY install-man: install-man@SECTION@
 install-man@SECTION@: $(man@SECTION@_MANS) $(man_MANS)
        @$(NORMAL_INSTALL)
index 231a4da0e05a51d9147c81a3ef340b876792503a..d7853a859b30679003227639ebc2a9f481bbb66b 100644 (file)
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@PROGRAMS
 install-@DIR@PROGRAMS: $(@DIR@_PROGRAMS)
        @$(NORMAL_INSTALL)
index 089282f7aa9c59d4e13da639f7ad0265058a61d3..78365df0fd7c34c591813c5328096eec1037a626 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1999 Free Software Foundation, Inc.
+## Copyright 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@DIR@dir)
 .PHONY install-exec-am: install-@DIR@PYTHON
 install-@DIR@PYTHON: $(@DIR@_PYTHON)
        @$(NORMAL_INSTALL)
index e559ada87423936eacde57baa90cf4df079e07a1..a746ce8313db87483e773408679bebb70a9c0f76 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@SCRIPTS
 install-@DIR@SCRIPTS: $(@DIR@_SCRIPTS)
        @$(NORMAL_INSTALL)
index 280d9bdfa64d89464bafa6748eb260630a4175fb..7dea0c37adea84d6d322fb8298c69ed6827c8ced 100644 (file)
@@ -27,6 +27,7 @@ DVIPS = dvips
 ## break a possible install-sh reference.
 ## Funny name due to --cygnus influence; we want to reserve
 ## `install-info' for the user.
+?INSTALL-INFO?_am_installdirs += $(DESTDIR)$(infodir)
 .PHONY: install-info-am
 ?EXEC??INSTALL-INFO?insexec-data-am: install-info-am
 ?!EXEC??INSTALL-INFO?install-data-am: install-info-am
diff --git a/libs.am b/libs.am
index b5b935fe827af4e860e29fef5631db353a99dcd0..5de5cf5495a68b36e95790f4ae87515a6ae476fc 100644 (file)
--- a/libs.am
+++ b/libs.am
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@LIBRARIES
 install-@DIR@LIBRARIES: $(@DIR@_LIBRARIES)
        @$(NORMAL_INSTALL)
diff --git a/lisp.am b/lisp.am
index 0c020a034a815fc357149f8adcf90f3f83057c86..dbc2257cc0b509260ba0aea47db043636eb62d63 100644 (file)
--- a/lisp.am
+++ b/lisp.am
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 ?EXEC?.PHONY install-exec-am: install-@DIR@LISP
 ?!EXEC?.PHONY install-data-am: install-@DIR@LISP
 install-@DIR@LISP: $(@DIR@_LISP) $(ELCFILES)
index cb10a2bc7974def0c8e85b4346620efd2c777496..2961f0b4cc7a3667ca30e161c576c29bd0257f1b 100644 (file)
--- a/ltlib.am
+++ b/ltlib.am
@@ -17,6 +17,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@LTLIBRARIES
 install-@DIR@LTLIBRARIES: $(@DIR@_LTLIBRARIES)
        @$(NORMAL_INSTALL)
index d58b2e24c86f210489aa7d401fce2727026a614b..e419c876d4ec7f3f23e2cb7b0b0d10f9d06dfd79 100644 (file)
@@ -47,7 +47,6 @@ INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_FLAG =
 INSTALL_HEADER = $(INSTALL_DATA)
 transform = @program_transform_name@
 
@@ -106,7 +105,6 @@ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
 
-
 install-m4dataDATA: $(m4data_DATA)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(m4datadir)
@@ -163,9 +161,9 @@ all-am: Makefile $(DATA)
 install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
-installdirs:
-       $(mkinstalldirs)  $(DESTDIR)$(m4datadir)
 
+installdirs:
+       $(mkinstalldirs) $(DESTDIR)$(m4datadir)
 
 mostlyclean-generic:
 
diff --git a/mans.am b/mans.am
index 7c57d0cf522b4330273519f280a50aefbf1f20c9..e67e03c57097e1279f190d519cccaaa682aca920 100644 (file)
--- a/mans.am
+++ b/mans.am
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+?INSTALL_MAN?_am_installdirs += $(DESTDIR)$(man@SECTION@dir)
 .PHONY install-man: install-man@SECTION@
 install-man@SECTION@: $(man@SECTION@_MANS) $(man_MANS)
        @$(NORMAL_INSTALL)
index 231a4da0e05a51d9147c81a3ef340b876792503a..d7853a859b30679003227639ebc2a9f481bbb66b 100644 (file)
--- a/progs.am
+++ b/progs.am
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@PROGRAMS
 install-@DIR@PROGRAMS: $(@DIR@_PROGRAMS)
        @$(NORMAL_INSTALL)
index 089282f7aa9c59d4e13da639f7ad0265058a61d3..78365df0fd7c34c591813c5328096eec1037a626 100644 (file)
--- a/python.am
+++ b/python.am
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1999 Free Software Foundation, Inc.
+## Copyright 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@DIR@dir)
 .PHONY install-exec-am: install-@DIR@PYTHON
 install-@DIR@PYTHON: $(@DIR@_PYTHON)
        @$(NORMAL_INSTALL)
index e559ada87423936eacde57baa90cf4df079e07a1..a746ce8313db87483e773408679bebb70a9c0f76 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 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
@@ -16,6 +16,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
+_am_installdirs += $(DESTDIR)$(@NDIR@dir)
 .PHONY install-exec-am: install-@DIR@SCRIPTS
 install-@DIR@SCRIPTS: $(@DIR@_SCRIPTS)
        @$(NORMAL_INSTALL)
index fcba2c97b4cf8e137cc2a8378d7b4fde3fb70210..1e808b1868b360ea747f8124ef9a3c40b9eaaaf7 100644 (file)
@@ -47,7 +47,6 @@ INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_FLAG =
 INSTALL_HEADER = $(INSTALL_DATA)
 transform = @program_transform_name@
 
@@ -467,8 +466,8 @@ all-am: Makefile
 install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
-installdirs:
 
+installdirs:
 
 mostlyclean-generic:
 
@@ -482,34 +481,34 @@ maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -rm -f Makefile.in
-clean: clean-am
+maintainer-clean-am: distclean-am maintainer-clean-generic
 
-clean-am: clean-generic mostlyclean-am
+.PHONY: all all-am check check-TESTS check-am clean clean-generic \
+       distclean distclean-generic distdir dvi dvi-am info info-am \
+       install install-am install-data install-data-am install-exec \
+       install-exec-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic uninstall uninstall-am
 
-distclean: distclean-am
+install-man:
 
-distclean-am: clean-am distclean-generic distclean-local
+distclean: distclean-am
 
-install-data-am:
+clean-am: clean-generic mostlyclean-am
 
 install-exec-am:
 
-install-man:
+install-data-am:
+
+distclean-am: clean-am distclean-generic distclean-local
 
 maintainer-clean: maintainer-clean-am
 
-maintainer-clean-am: distclean-am maintainer-clean-generic
+mostlyclean-am: mostlyclean-generic
 
 mostlyclean: mostlyclean-am
 
-mostlyclean-am: mostlyclean-generic
-
-.PHONY: all all-am check check-TESTS check-am clean clean-generic \
-       distclean distclean-generic distdir dvi dvi-am info info-am \
-       install install-am install-data install-data-am install-exec \
-       install-exec-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-generic uninstall uninstall-am
+clean: clean-am
 
 
 distclean-local:
index 280d9bdfa64d89464bafa6748eb260630a4175fb..7dea0c37adea84d6d322fb8298c69ed6827c8ced 100644 (file)
@@ -27,6 +27,7 @@ DVIPS = dvips
 ## break a possible install-sh reference.
 ## Funny name due to --cygnus influence; we want to reserve
 ## `install-info' for the user.
+?INSTALL-INFO?_am_installdirs += $(DESTDIR)$(infodir)
 .PHONY: install-info-am
 ?EXEC??INSTALL-INFO?insexec-data-am: install-info-am
 ?!EXEC??INSTALL-INFO?install-data-am: install-info-am
This page took 0.060927 seconds and 5 git commands to generate.