Minor optimization for install of self-contained NS info files
authorGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 06:07:26 +0000 (23:07 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 06:07:26 +0000 (23:07 -0700)
* configure.in (etcdir): For a self-contained ns build,
set it to the appropriate values.
* Makefile.in (install-arch-dep): No need to move info/ any more.

ChangeLog
Makefile.in
configure.in

index e95a064..013734a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 2012-05-17  Glenn Morris  <rgm@gnu.org>
 
-       * configure.in (docdir, etcdir, lispdir):
+       * configure.in (docdir, etcdir, infodir, lispdir):
        For a self-contained ns build, set these to the appropriate values.
+       * Makefile.in (install-arch-dep): No need to move info/ any more.
 
        * configure.in (ns_self_contained): New output variable.
        * Makefile.in (ns_self_contained): New, set by configure.
index 53e7337..2f1a234 100644 (file)
@@ -479,7 +479,6 @@ install-arch-dep: mkdir
                rm -fr `basename "$$dir"`; mv "$$dir" . ; \
              done ; \
            fi ; \
-           if test -d share/info ; then rm -fr info; mv share/info . ; fi ; \
            rm -fr share ) ; \
        fi
 
index 7cc41aa..0844cc2 100644 (file)
@@ -1595,6 +1595,9 @@ if test "${HAVE_NS}" = yes; then
      archlibdir="\${ns_appbindir}/libexec"
      docdir="\${ns_appresdir}/etc"
      etcdir="\${ns_appresdir}/etc"
+     dnl FIXME maybe set datarootdir instead.
+     dnl That would also get applications, icons, man.
+     infodir="\${ns_appresdir}/info"
      lispdir="\${ns_appresdir}/lisp"
      LEIM_INSTALLDIR="\${ns_appresdir}/leim"
   fi