blob: 16642277ef9c35da2ddddc9b1a1fb3aca940597e (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
$NetBSD: patch-aa,v 1.6 2002/10/23 10:54:55 wiz Exp $
--- Makefile.orig Sat Sep 28 01:24:32 2002
+++ Makefile
@@ -38,7 +38,7 @@ CC?= /usr/bin/cc
# -Ox - optimize;
# -g - produce debugging information.
#
-CFLAGS= -Wall -O1 -g
+#CFLAGS= -Wall -O1 -g
#
# PREFIX - prefix for all below listed paths
@@ -58,7 +58,7 @@ DSTMANDIR= ${PREFIX}/man
#
# DSTETCDIR - where to install template configuration
#
-DSTETCDIR= ${PREFIX}/etc
+DSTETCDIR= ${DSTEXAMPLEDIR}
#
# DSTRCDIR - where to install sample rc-script
@@ -96,10 +96,10 @@ MKDIR?= /bin/mkdir
#
# Some INSTALL_* variables
#
-INSTALL_MAN= ${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_DATA= ${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_PROGRAM= ${INSTALL} -c -g wheel -o root -m 0555
-INSTALL_SCRIPT= ${INSTALL} -c -g wheel -o root -m 0500
+INSTALL_MAN= ${BSD_INSTALL_MAN}
+INSTALL_DATA= ${BSD_INSTALL_DATA}
+INSTALL_PROGRAM= ${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT= ${BSD_INSTALL_SCRIPT}
INSTALL_MAN_DIR= ${INSTALL} -d -m 0555 -g wheel -o root
INSTALL_DATA_DIR= ${INSTALL} -d -m 0555 -g wheel -o root
@@ -230,21 +230,9 @@ install:
${INSTALL_PROGRAM} ipa ipastat ${DSTBINDIR}
${INSTALL_MAN} man/ipa.5 man/ipa.conf.5 ${DSTMANDIR}/man5
${INSTALL_MAN} man/ipa.8 man/ipastat.8 ${DSTMANDIR}/man8
-.if !exists(${DSTMANDIR}/ru_RU.KOI8-R/man5)
- ${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_RU.KOI8-R/man5
-.endif
-.if !exists(${DSTMANDIR}/ru_RU.KOI8-R/man8)
- ${INSTALL_MAN_DIR} ${DSTMANDIR}/ru_RU.KOI8-R/man8
-.endif
-.if !exists(${DSTMANDIR}/ru_SU.KOI8-R)
- ${LN} -s ${DSTMANDIR}/ru_RU.KOI8-R ${DSTMANDIR}/ru_SU.KOI8-R
-.endif
- ${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DSTMANDIR}/ru_SU.KOI8-R/man5
- ${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DSTMANDIR}/ru_SU.KOI8-R/man8
- ${INSTALL_DATA_DIR} ${DSTEXAMPLEDIR}
${INSTALL_DATA} examples/* ${DSTEXAMPLEDIR}
.if exists(${DSTRCDIR})
- ${INSTALL_SCRIPT} etc/ipa.sh.sample ${DSTRCDIR}
+ ${INSTALL_SCRIPT} etc/ipa.sh.sample ${DSTRCDIR}/ipa
.else
@${ECHO}
@${ECHO} ">> Can't find directory ${DSTRCDIR}, skip installing of ipa.sh.sample"
|