From a59b51006b307a1a3cbd79e6b85e6b80400cc8ab Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 30 Nov 2000 18:36:21 +0000 Subject: Function installation information now in config.modules --- Makefile.in | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 5882ce42c..cb1d14be2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,14 +77,25 @@ install.man uninstall.man: # install/uninstall just the shell functions install.fns: - test x$(sitefndir) != xno && $(sdir_top)/mkinstalldirs $(DESTDIR)$(sitefndir) - @cd Completion && $(MAKE) $(MAKEDEFS) $@ - @cd Functions && $(MAKE) $(MAKEDEFS) $@ + if test x$(fndir) != x && test x$(fndir) != xno; then \ + test x$(sitefndir) != xno && \ + $(sdir_top)/mkinstalldirs $(DESTDIR)$(sitefndir); \ + sdir_top="$(sdir_top)" fndir="$(fndir)" dir_top="$(dir_top)" \ + FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \ + INSTALL_DATA="$(INSTALL_DATA)" \ + DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \ + $(SHELL) $(sdir_top)/Config/installfns.sh || exit 1; \ + fi; \ + exit 0 uninstall.fns: - # never attempt to remove $(sitefndir) - @cd Completion && $(MAKE) $(MAKEDEFS) $@ - @cd Functions && $(MAKE) $(MAKEDEFS) $@ + if test x$(fndir) != x && test x$(fndir) != xno; then \ + fndir="$(fndir)" dir_top="$(dir_top)" \ + FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \ + DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \ + $(SHELL) $(sdir_top)/Config/uninstallfns.sh || exit 1; \ + fi; \ + exit 0 # install/uninstall just the info pages install.info uninstall.info: -- cgit 1.4.1