summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-aa
blob: bfb9d0aef75f766cf2ea1112dec21ef5614978ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.8 2004/05/19 17:42:35 kim Exp $

--- Makefile.in.orig	2003-03-12 14:14:50.000000000 -0500
+++ Makefile.in	2004-02-21 16:28:51.000000000 -0500
@@ -476,17 +476,10 @@
 install-strip: install
 
 install: tcsh$(EXEEXT) 
-	-mkdir -p ${DESTBIN}
-	-mv -f ${DESTBIN}/tcsh$(EXEEXT)  ${DESTBIN}/tcsh.old
-	cp tcsh$(EXEEXT) ${DESTBIN}/tcsh$(EXEEXT)
-	-strip ${DESTBIN}/tcsh$(EXEEXT)
-	chmod 755 ${DESTBIN}/tcsh$(EXEEXT)
+	${BSD_INSTALL_PROGRAM} tcsh${EXEEXT} ${DESTBIN}/tcsh${EXEEXT}
 
 install.man: tcsh.man
-	-mkdir -p ${DESTMAN}
-	-rm -f ${DESTMAN}/tcsh.${MANSECT}
-	cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT}
-	chmod 444 ${DESTMAN}/tcsh.${MANSECT}
+	${BSD_INSTALL_MAN} tcsh.man ${DESTMAN}/tcsh.${MANSECT}
 
 install.cygwin: install install.man
 	-mkdir -p ${DESTDIR}${prefix}/doc/tcsh