changeset 13518:9e55dae21315

(mkdir): Create man1dir, not mandir. (uninstall): Use man1dir, not mandir. (man1dir): New variable. (install-arch-indep): Use man1dir.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Nov 1995 20:52:52 +0000
parents e50cebfd1d7a
children aee6ea2166bc
files Makefile.in
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Nov 11 20:51:37 1995 +0000
+++ b/Makefile.in	Sat Nov 11 20:52:52 1995 +0000
@@ -92,6 +92,7 @@
 # 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 @@
 	   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 @@
 ### /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 @@
 	  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))