summaryrefslogtreecommitdiff
path: root/comms/conserver/files/patch-ag
blob: 0c42c41f3c1b1fb9fe68ab03f4bf7865fe843187 (plain) (blame)
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
--- conserver.cf/Makefile.orig	Sat Nov 22 22:25:19 1997
+++ conserver.cf/Makefile	Sat Nov 22 22:29:15 1997
@@ -4,18 +4,19 @@
 #
 
 # if you edit LIB below you have to change cons.hs default config define.
-PROG=	conserver.cf
-LIB=	${DESTDIR}/usr/local/lib
-DOC=	${DESTDIR}/usr/man
+PROG=	conserver.cf.eg
+LIB=	${DESTDIR}/usr/local/etc
+DOC=	${DESTDIR}/usr/local/man/man5
 
 SRCs=	conserver.cf
 MAN=	conserver.cf.5l
 OTHER=	README
 SOURCE=	Makefile ${OTHER} ${MAN} ${SRCl} ${SRCs}
 
-all: ${SRCl} ${PROG}
+all: ${PROG}
 
 ${PROG}: ${SRCs}
+	sed -e '/^[^#]/s/^/#/' < ${SRCs} > ${PROG}
 
 clean: FRC
 	rm -f Makefile.bak a.out core errs lint.out tags
@@ -29,7 +30,8 @@
 dirs: ${LIB} ${DOC}
 
 install: all dirs FRC
-	install -c ${PROG} ${LIB}/${PROG}
+	install -c -o bin -g bin -m 444 ${PROG} ${LIB}
+	install -c -o bin -g bin -m 444 ${MAN} ${DOC}/conserver.cf.5
 
 lint: FRC