1999-04-07 18:21:51 +00:00
|
|
|
--- Makefile.orig Sun Jan 31 19:17:52 1999
|
|
|
|
+++ Makefile Tue Apr 6 17:12:29 1999
|
1998-12-24 07:31:51 +00:00
|
|
|
@@ -1,11 +1,8 @@
|
|
|
|
# -*- makefile -*-
|
|
|
|
# $Orig-Id: Makefile,v 1.16 1997/07/20 00:28:31 agulbra Exp $
|
|
|
|
-CC = gcc
|
|
|
|
DEBUG = -g -Wall -Wformat -Wstrict-prototypes -Wmissing-prototypes
|
|
|
|
-CFLAGS = $(DEBUG)
|
|
|
|
LIBS =
|
|
|
|
-BINDIR = /usr/local/sbin
|
|
|
|
-MANDIR = /usr/local/man
|
|
|
|
+BINDIR = $(PREFIX)/sbin
|
1999-04-03 01:01:15 +00:00
|
|
|
VERSION = 2.6
|
1998-12-24 07:31:51 +00:00
|
|
|
#
|
|
|
|
# if you want to use Socks, use following
|
1998-12-28 23:19:54 +00:00
|
|
|
@@ -27,7 +24,7 @@
|
1998-12-24 07:31:51 +00:00
|
|
|
#
|
|
|
|
# this is the directory where the configuration and group information is
|
|
|
|
# kept. It should preferably not be on the same partition as spooldir
|
|
|
|
-LIBDIR = /usr/lib/leafnode
|
|
|
|
+LIBDIR = $(PREFIX)/lib/leafnode
|
|
|
|
|
1998-12-28 23:19:54 +00:00
|
|
|
all: leafnode fetchnews texpire checkgroups leaftool
|
1998-12-24 07:31:51 +00:00
|
|
|
|
1999-04-07 18:21:51 +00:00
|
|
|
@@ -79,7 +76,7 @@
|
|
|
|
@if [ -f $(BINDIR)/fetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from fetch into fetchnews.; fi
|
|
|
|
@if [ -f $(BINDIR)/newsfetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from newsfetch into fetchnews.; fi
|
|
|
|
|
|
|
|
-installall: install
|
|
|
|
+installall:
|
|
|
|
-mkdir -p $(SPOOLDIR) $(LIBDIR)
|
|
|
|
-mkdir -p $(SPOOLDIR)/message.id
|
|
|
|
-mkdir -p $(SPOOLDIR)/interesting.groups
|
1998-12-28 23:19:54 +00:00
|
|
|
@@ -91,7 +88,6 @@
|
1998-12-24 07:31:51 +00:00
|
|
|
$${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
|
|
|
|
$${a}$${b}9 ; \
|
|
|
|
done ; done
|
|
|
|
- cp config.example $(LIBDIR)
|
|
|
|
chown -R news.news $(LIBDIR)/. $(SPOOLDIR)/.
|
|
|
|
chmod 2750 $(SPOOLDIR)
|
|
|
|
@echo edit /etc/inetd.conf to start $(BINDIR)/leafnode
|