summaryrefslogtreecommitdiff
path: root/editors/xemacs-current/patches/patch-aa
blob: b310133268827ac21f690a2395c12cd624c379ff (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.2 2003/01/18 05:45:43 uebayasi 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 \
+             ${INSTALL_MAN} ${srcdir}/etc/$${page}.1 ${mandir}/xemacs-$${page}${manext} ; \
+           else \
+             ${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"