* Makefile.in (datarootdir): Define.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 7 Feb 2008 23:41:59 +0000 (23:41 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 7 Feb 2008 23:41:59 +0000 (23:41 +0000)
(install, uninstall): Quote directory name that might contain whitespace.

* gnus-news.texi: Mention that spaces and tabs are allowed in the installation
 directory name.

* ps/Makefile.in (datarootdir): Define.

texi/ChangeLog
texi/Makefile.in
texi/gnus-news.texi
texi/ps/Makefile.in

index 16b80c8..89b048b 100644 (file)
@@ -1,3 +1,14 @@
+2008-02-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * Makefile.in (datarootdir): Define.
+       (install, uninstall): Quote directory name that might contain
+       whitespace.
+
+       * gnus-news.texi: Mention that spaces and tabs are allowed in the
+       installation directory name.
+
+       * ps/Makefile.in (datarootdir): Define.
+
 2008-01-24  Michael Sperber  <sperber@deinprogramm.de>
 
        * gnus.texi (Mail Source Specifiers): Document `group' specifier.
@@ -5949,7 +5960,7 @@ Thu Feb 25 00:28:49 1999  Shenghuo ZHU  <zsh@cs.rochester.edu>
        * gnus.texi (Mail Folders): Addition.
 
     Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-    2007 Free Software Foundation, Inc.
+    2007, 2008 Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.
 
index 15b89e3..7e4f38e 100644 (file)
@@ -1,5 +1,6 @@
-infodir = @info_dir@
 prefix = @prefix@
+datarootdir = @datarootdir@
+infodir = @info_dir@
 srcdir = @srcdir@
 subdir = texi
 top_srcdir = @top_srcdir@
@@ -214,21 +215,21 @@ distclean: clean
        rm -f gnus-faq.xml gnus-faq.*.tmp
 
 install: $(INFO_DEPS)
-       $(SHELL) $(top_srcdir)/mkinstalldirs $(infodir)
+       $(SHELL) $(top_srcdir)/mkinstalldirs "$(infodir)"
        @list='$(INFO_DEPS)'; \
        for file in $$list; do \
          for ifile in `echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
            if test -f $$ifile; then \
-             echo " $(INSTALL_DATA) $$ifile $(infodir)/$$ifile"; \
-             $(INSTALL_DATA) $$ifile $(infodir)/$$ifile; \
+             echo "$(INSTALL_DATA) $$ifile \"$(infodir)/$$ifile\""; \
+             $(INSTALL_DATA) $$ifile "$(infodir)/$$ifile"; \
            else : ; fi; \
          done; \
        done
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
          list='$(INFO_DEPS)'; \
          for file in $$list; do \
-           echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
-           install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
+           echo "install-info --info-dir=\"$(infodir)\" \"$(infodir)/$$file\"";\
+           install-info --info-dir="$(infodir)" "$(infodir)/$$file" || :;\
          done; \
        else : ; fi
 
@@ -236,14 +237,14 @@ uninstall:
        @list='$(INFO_DEPS)'; \
        for file in $$list; do \
          for ifile in `echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
-           rm -f $(infodir)/$$ifile; \
+           rm -f "$(infodir)/$$ifile"; \
          done; \
        done
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
          list='$(INFO_DEPS)'; \
          for file in $$list; do \
-           echo " install-info --delete --info-dir=$(infodir) $(infodir)/$$file";\
-           install-info --delete --info-dir=$(infodir) $(infodir)/$$file || :;\
+           echo "install-info --delete --info-dir=\"$(infodir)\" \"$(infodir)/$$file\"";\
+           install-info --delete --info-dir="$(infodir)" "$(infodir)/$$file" || :;\
          done; \
        else : ; fi
 
index 8fcab4f..9180b75 100644 (file)
@@ -38,6 +38,8 @@ the new installer issues a warning if other Gnus installations which
 will shadow the latest one are detected.  You can then remove those
 shadows manually or remove them using @code{make
 remove-installed-shadows}.
+
+@item The installation directory name is allowed to have spaces and/or tabs.
 @end itemize
 
 @item New packages and libraries within Gnus
index c11e474..2ad49eb 100644 (file)
@@ -1,5 +1,6 @@
-infodir = @infodir@
 prefix = @prefix@
+datarootdir = @datarootdir@
+infodir = @infodir@
 srcdir = @srcdir@
 subdir = texi/ps
 top_srcdir = @top_srcdir@