diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-07-02 12:40:13 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-07-02 12:40:13 +0000 |
commit | da99bf2171a254deb22a073e296f0b2d7b468bea (patch) | |
tree | a57e592017549b1a7d8226ae8bc922b6e6bdc635 /news/cnews | |
parent | add a NO_PACKAGE=yes (diff) |
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.
Diffstat (limited to 'news/cnews')
-rw-r--r-- | news/cnews/Makefile | 9 |
1 files 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:" |