From 88e7bbf15c0324baa789f8d6e9c110c6d12d5127 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Nov 1995 20:52:52 +0000 Subject: [PATCH] (mkdir): Create man1dir, not mandir. (uninstall): Use man1dir, not mandir. (man1dir): New variable. (install-arch-indep): Use man1dir. --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 76bddbfdfed..6fd78d54ebc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -92,6 +92,7 @@ libexecdir=@libexecdir@ # Where to install Emacs's man pages, and what extension they should have. mandir=@mandir@ manext=.1 +man1dir=$(mandir)/man1 # Where to install and expect the info files describing Emacs. In the # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but @@ -360,7 +361,7 @@ install-arch-indep: mkdir done); \ else true; fi thisdir=`/bin/pwd`; cd ${srcdir}/etc; for page in emacs etags ctags ; do \ - (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \ + (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}); \ done ### Build all the directories we're going to install Emacs in. Since @@ -368,7 +369,7 @@ install-arch-indep: mkdir ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag. mkdir: FRC - $(srcdir)/mkinstalldirs ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ + $(srcdir)/mkinstalldirs ${COPYDESTS} ${lockdir} ${infodir} ${man1dir} \ ${bindir} ${datadir} ${docdir} ${libexecdir} \ `echo ${locallisppath} | sed 's/:/ /g'` -chmod a+rwx ${lockdir} @@ -397,7 +398,7 @@ uninstall: fi ; \ done (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) - (cd ${mandir} && rm -f emacs.1 etags.1 ctags.1) + (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1) (cd ${bindir} && rm -f emacs-${version} $(EMACS)) -- 2.11.4.GIT