commit de19bfb1d868a99cff1372dd91c8f5a404e2d736
parent c8bf4cc819e22729beec5f63630d3cd1258b95b8
Author: hhvn <hayden@haydenvh.com>
Date: Mon, 1 Feb 2021 14:03:48 +0000
makefile: install hidden files (eg, .version)
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/makefile b/makefile
@@ -1,12 +1,16 @@
PREFIX = /usr/local
DATADIR = /var/bbs
-default: etc/lesskey
+default: less
+
+less: etc/lesskey
+ @echo Pager for long posts
lesskey -o etc/less etc/lesskey
+ @echo
install: clean
mkdir -p $(PREFIX)/share/hbbs
- cp -r `ls` $(PREFIX)/share/hbbs
+ cp -r `ls -A` $(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