Make this deinstall friendly.

PR:		8207
Submitted by:	Ruslan Ermilov <ru@ucb@crimea.ua>
This commit is contained in:
Steve Price 1998-10-10 04:11:29 +00:00
parent 861a2822ef
commit 200c4f0449
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13825
2 changed files with 9 additions and 10 deletions

View file

@ -3,7 +3,7 @@
# Date created: So 17 Nov 1996 16:59:23 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.28 1998/09/19 22:19:47 andreas Exp $
# $Id: Makefile,v 1.29 1998/09/22 17:22:12 asami Exp $
#
DISTNAME= bb-1.08a
@ -67,7 +67,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/$(file) \
${PREFIX}/bb/etc
.endfor
.for file in mkbb.bkg mkbb.cols mkbb.sh mkbb2.sh
.for file in mkbb.bkg mkbb.cols mkbb.comp mkbb.sh mkbb2.sh
${INSTALL_SCRIPT} ${WRKSRC}/web/$(file) \
${PREFIX}/bb/web
.endfor
@ -77,8 +77,6 @@ do-install:
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/www/bb-pager.sh \
${PREFIX}/www/cgi-bin/bb-pager.sh
@ln -sf ${PREFIX}/www/cgi-bin/bb-pager.sh \
${PREFIX}/bb/www/bb-pager.sh
.for file in bb-diag.gif bb.gif bb2.gif bbbut.gif bkg-green.gif \
bkg-purple.gif bkg-red.gif bkg-yellow.gif blue.gif \
buthelp.gif butinfo.gif butpage.gif butview.gif clear.gif \
@ -94,9 +92,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/www/notes/$(file) \
${PREFIX}/bb/www/notes
.endfor
@${RM} -f ${PREFIX}/www/data/bb
@ln -sf ${PREFIX}/bb/www ${PREFIX}/www/data/bb
@ln -sf bb.html ${PREFIX}/bb/www/index.html
@${LN} -fs ${PREFIX}/bb/www ${PREFIX}/www/data/bb
@${LN} -fs bb.html ${PREFIX}/bb/www/index.html
@echo ""
@echo "================================================================"
@echo "==== Configuration Notes: ==="

View file

@ -34,13 +34,13 @@ bb/etc/sms.scr
bb/tmp/.keep_me
bb/web/mkbb.bkg
bb/web/mkbb.cols
bb/web/mkbb.comp
bb/web/mkbb.sh
bb/web/mkbb2.sh
bb/www/bb-faq.html
bb/www/bb-help.html
bb/www/bb-info.html
bb/www/bb-page.html
bb/www/bb-pager.sh
bb/www/gifs/bb-diag.gif
bb/www/gifs/bb.gif
bb/www/gifs/bb2.gif
@ -62,7 +62,8 @@ bb/www/gifs/nb-yellow.gif
bb/www/gifs/purple.gif
bb/www/gifs/red.gif
bb/www/gifs/yellow.gif
bb/www/index.html
@exec ln -fs bb.html %D/bb/www/index.html
@unexec rm %D/bb/www/index.html
bb/www/logs/later
bb/www/notes/README
bb/www/notes/footer
@ -78,7 +79,8 @@ share/doc/bb/STRUCTURE
share/doc/bb/bbclient
share/doc/bb/bbconfig
www/cgi-bin/bb-pager.sh
www/data/bb
@exec ln -fs %D/bb/www %D/www/data/bb
@unexec rm %D/www/data/bb
@dirrm bb/bin
@dirrm bb/etc
@dirrm bb/web