hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit 0770c4712f3255e0b8580d302b79f623e5546ecc
parent b676900a5afb3a43dcf405ea9906079e3dca3d4f
Author: hhvn <hayden@haydenvh.com>
Date:   Mon,  1 Feb 2021 00:31:09 +0000

makefile[NEW]: add makefile

Diffstat:
Amakefile | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/makefile b/makefile @@ -0,0 +1,16 @@ +PREFIX = /usr/local +DATADIR = /var/bbs + +install: + mkdir -p $(PREFIX)/share/hbbs + cp `ls` $(PREFIX/)/share/hbbs + sed 's~PREFIX~$(PREFIX)~' < etc/xinetd > /etc/xinetd.d/hbbs + chmod 755 $(PREFIX)/share/hbbs/hbbs.sh + chmod 755 $(PREFIX)/share/hbbs/bin/wrapper.sh + mkdir -p $(DATADIR)/ + chmod 777 $(DATDIR)/ + +uninstall: + rm -rf $(DATADIR) + rm -rf $(PREFIX)/share/hbbs + rm /etc/xinetd.d/hbbs