summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-04 02:35:47 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-04 02:35:47 +0800
commit0fe23d901760a52ed2b076563af6f2a41a23a7ad (patch)
tree5eeb4fa3ecdd5274993ec6932f8eccd77d70f3b9 /util
parentd4a17c21dd6ae71da7d3c4e0a70bba0de3b89a16 (diff)
downloadpttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar.gz
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar.bz2
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar.lz
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar.xz
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.tar.zst
pttbbs-0fe23d901760a52ed2b076563af6f2a41a23a7ad.zip
add installbbsctl
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@76 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/Makefile b/util/Makefile
index c1cbf06c..fb606b99 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2002/03/24 16:27:09 in2 Exp $
+# $Id: Makefile,v 1.7 2002/04/03 18:35:47 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE?=linux
@@ -163,5 +163,11 @@ install: $(PROGS)
mv $(BBSHOME)/bin/bbsmail $(BBSHOME)/bin/realbbsmail
ln -s $(BBSHOME)/bin/filtermail.pl $(BBSHOME)/bin/bbsmail
+installbbsctl: bbsctl
+ rm -f /home/bbs/bin/bbsctl
+ cp /home/bbs/pttbbs/util/bbsctl /home/bbs/bin/bbsctl
+ chown root /home/bbs/bin/bbsctl
+ chmod 4755 /home/bbs/bin/bbsctl
+
clean:
rm -f *.o $(CPROGS)