From da99bf2171a254deb22a073e296f0b2d7b468bea Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sun, 2 Jul 1995 12:40:13 +0000 Subject: To the do-install target: (1) Add a "rm -f ${PREFIX}/bin/inews", install was failing when it tried to overwrite an inews installed by a separate package (it su's first). (2) Add "-c" to install lines of manpages. --- news/cnews/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/news/cnews/Makefile b/news/cnews/Makefile index b2baa1d9b6af..24e038cd5355 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -3,7 +3,7 @@ # Date created: 28 September 1994 # Whom: adam # -# $Id: Makefile,v 1.9 1995/04/24 09:15:30 asami Exp $ +# $Id: Makefile,v 1.10 1995/04/24 09:21:52 asami Exp $ # DISTNAME= cnews @@ -21,6 +21,7 @@ NEWSLIB= ${PREFIX}/lib/news MANDIR= ${PREFIX}/man do-install: + rm -f ${PREFIX}/bin/inews cp ${WRKSRC}/libdbz/dbz.h ${PREFIX}/include cp ${WRKSRC}/libcnews.a ${PREFIX}/lib mkdir -p ${NEWSSPOOL} @@ -40,9 +41,9 @@ do-install: chown news.news ${NEWSBIN}/input/newsspool chmod 6755 ${NEWSBIN}/input/newsspool mkdir -p ${MANDIR}/man1 ${MANDIR}/man5 ${MANDIR}/man8 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5 - install -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5 + install -c -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8 @echo "" @echo "!!!!!!!!" @echo "you MUST change the configuration of this news setup:" -- cgit v1.2.3