summaryrefslogtreecommitdiffstats
path: root/japanese/man/files/patch-catman__Makefile
blob: 04a7d82e9549e081863c0303f4d0b6265989bf50 (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
25
26
27
28
29
30
31
32
33
34
35
36
--- catman/Makefile.orig	1997-12-07 22:11:06.000000000 +0900
+++ catman/Makefile	2014-08-26 12:08:09.000000000 +0900
@@ -37,25 +37,21 @@
 		${.CURDIR}/jcatman.man.eng | \
 	${compress} > ${.TARGET}
 
-install: ${TARG} maninstall after_maninstall
-	${INSTALL} -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}${BINDIR}
+install: ${TARG} man_install after_maninstall
+	${INSTALL} -m 555 ${TARG} ${DESTDIR}${BINDIR}
+
+.if !defined(NO_MAN)
+man_install: ${MAN1}
+	${INSTALL} -m 444 ${MAN1} ${DESTDIR}${MANDIR}1
 
-.if !defined(NOMAN)
 after_maninstall: ${EMAN1}
-	${INSTALL} -c -o bin -g bin -m 444 ${EMAN1} \
+	${INSTALL} -m 444 ${EMAN1} \
 	    ${DESTDIR}${EMANDIR}1/jcatman.1.gz
 .else
+man_install:
 after_maninstall:
 .endif
 
 .include "../Makefile.inc"
 
-.if make(maninstall) || make(install)
-.if !defined(NOMAN)
-.include <bsd.man.mk>
-.elif !target(maninstall)
-maninstall:
-.endif
-.endif
-
 .include <bsd.prog.mk>
OpenPOWER on IntegriCloud