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.
This commit is contained in:
Glenn Morris 2012-05-16 23:07:26 -07:00
parent b42c720d56
commit 40c117e7ad
3 changed files with 5 additions and 2 deletions

View file

@ -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.

View 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

View 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