summaryrefslogtreecommitdiff
path: root/editors/xemacs-current/patches/patch-aa
blob: 09cb1aefaf1a5c6b44473e1a45ab3e22cdffbcbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.3 2003/01/19 06:52:56 salo Exp $

--- Makefile.in.in.orig	Sat Jan 18 12:23:29 2003
+++ Makefile.in.in
@@ -477,8 +477,12 @@
 	fi
 	cd ${srcdir}/etc && \
 	  for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \
-	    ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \
-	    chmod 0644 ${mandir}/$${page}${manext} ; \
+           if [ $${page} = etags ] || [ $${page} = ctags ] ; \
+           then \
+             ${BSD_INSTALL_MAN} ${srcdir}/etc/$${page}.1 ${mandir}/xemacs-$${page}${manext} ; \
+           else \
+             ${BSD_INSTALL_MAN} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \
+           fi \
 	  done
 	@echo "If you would like to save approximately 2M of disk space, do"
 	@echo "make gzip-el"