From 40c117e7adf2bc35afef024d476e657a30ea35dd Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 16 May 2012 23:07:26 -0700 Subject: [PATCH] Minor optimization for install of self-contained NS info files * 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 | 3 ++- Makefile.in | 1 - configure.in | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e95a064218..013734a865 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2012-05-17 Glenn Morris - * 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. diff --git a/Makefile.in b/Makefile.in index 53e73370b7..2f1a234555 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/configure.in b/configure.in index 7cc41aa589..0844cc2ecb 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.20.1