summaryrefslogtreecommitdiff
path: root/lib/am/distdir.am
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-01-28 20:50:43 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-01-28 20:50:43 +0000
commitb5a48a3828b024a4681caa16fe8d22ae970669a5 (patch)
tree19645f5bc9c601f1f283869e1ad2fba0ecf82546 /lib/am/distdir.am
parentef1f2dadffe7ac7e61ebce08d1dd745eff12de5d (diff)
downloadautomake-b5a48a3828b024a4681caa16fe8d22ae970669a5.tar.gz
* Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
* lib/am/data.am, lib/am/distdir.am, lib/am/java.am, 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: Quote installation paths in install, uninstall, and installcheck rules, as well as in am__installdirs variables. This is for the sake of paths containing spaces. * lib/am/install.am (installdirs-am, installdirs): Do not try to create "" directories. * test/instspc.test: New file. * test/Makefile.am (TESTS): Add instspc.test. Report from James Amundson.
Diffstat (limited to 'lib/am/distdir.am')
-rw-r--r--lib/am/distdir.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index 0671a4843..71ee77692 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -1,5 +1,5 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003, 2004 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
@@ -324,8 +324,8 @@ distcheck: dist
## Undo the write access.
chmod a-w $(distdir)
## Compute the absolute path of `_inst'. Strip any leading DOS drive
-## to allow DESTDIR installations. Otherwise $(DESTDIR)$(prefix) would
-## expand to c:/temp/am-dc-5668/c:/src/package/package-1.0/_inst.
+## to allow DESTDIR installations. Otherwise "$(DESTDIR)$(prefix)" would
+## expand to "c:/temp/am-dc-5668/c:/src/package/package-1.0/_inst".
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
## We will attemp a DESTDIR install in $dc_destdir. We don't
## create this directory under $dc_install_base, because it would