diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 21:39:29 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 21:39:29 +0800 |
commit | e76616aaf6771e5c435a935376c14ef47024a37f (patch) | |
tree | 686322aa9b3af111c913a7892ee0b240980fb24e /util | |
parent | a3aa2fb84feac7c8f0dca9ec0542accfa0feca96 (diff) | |
download | pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.gz pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.bz2 pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.lz pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.xz pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.tar.zst pttbbs-e76616aaf6771e5c435a935376c14ef47024a37f.zip |
comments
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/LocalVars.pm.sample | 4 | ||||
-rw-r--r-- | util/Makefile | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/util/LocalVars.pm.sample b/util/LocalVars.pm.sample index 04806da6..1f24872d 100644 --- a/util/LocalVars.pm.sample +++ b/util/LocalVars.pm.sample @@ -19,6 +19,6 @@ $JOBSPOOL = "$BBSHOME/jobspool"; $TMP = '/tmp'; # program -$TAR = '/bin/tar'; -$LYNX = '/usr/local/bin/lynx'; +$TAR = '/usr/bin/tar'; +$LYNX = '/usr/local/bin/lynx'; # /usr/ports/www/lynx $GREP = '/usr/bin/grep'; diff --git a/util/Makefile b/util/Makefile index e291cdee..3daa4579 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.24 2003/02/17 18:37:48 in2 Exp $ +# $Id: Makefile,v 1.25 2003/03/28 13:39:29 in2 Exp $ BBSHOME?=$(HOME) OSTYPE!=uname @@ -37,6 +37,10 @@ PROGS= $(CPROGS) BM_money.sh backpasswd.sh mailog.sh opendice.sh\ toplazyBM.sh toplazyBBM.sh dailybackup.pl tarqueue.pl waterball.pl \ filtermail.pl getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl +.if ${OSTYPE} == "FreeBSD" +CPROGS += diskstat +.endif + all: $(PROGS) bbsmail: bbsmail.c $(OBJS) @@ -162,6 +166,9 @@ bbsctl: bbsctl.c shmctl: shmctl.c $(OBJS) $(CC) $(CFLAGS) -o $@ $@.c $(OBJS) +diskstat: diskstat.c + $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat + install: $(PROGS) install -d $(BBSHOME)/bin/ install -c -m 755 $(PROGS) $(BBSHOME)/bin/ |