Thread View: ne.news
1 messages
1 total messages
Started by page
Tue, 24 Feb 1987 02:00
How to build the 'delay' script (really 'grabheaders')
Author: page
Date: Tue, 24 Feb 1987 02:00
Date: Tue, 24 Feb 1987 02:00
51 lines
1815 bytes
1815 bytes
Here is a Makefile to build the 'delay' script. Actually, it just builds the 'grabheaders' program which delay needs. It assumes you're using the 2.11 version of news. Change the DIST and DEST variables as appropriate for your site, then type 'make install' (it will grab the needed files out of the distribution). ..Bob -- Bob Page, U of Lowell CS Dept. ulowell!page, page@ulowell.CSNET # --- cut here --- # Makefile to build the 'grabheaders' program # (Used by the 'delay' script) # Change 'DIST' to the location of the news distribution: DIST=/usr/src/new/news # Change 'DEST' to where you want 'delay' and 'grabheaders' put DEST=/usr/local/bin CFLAGS=-O all: delay grabheaders install: delay grabheaders cp delay $(DEST); chmod 755 $(DEST)/delay cp grabheaders $(DEST); chmod 111 $(DEST)/grabheaders grabheaders: grabheaders.c getdate.c cc $(CFLAGS) -o grabheaders grabheaders.c getdate.c getdate.c: getdate.y defs.h @echo "Expect 8 shift/reduce conflicts" yacc getdate.y mv y.tab.c getdate.c grabheaders.c: cp $(DIST)/misc/grabheaders.c . getdate.y: cp $(DIST)/src/getdate.y . defs.h: cp $(DIST)/src/defs.h . delay: cp $(DIST)/misc/delay . clean: rm -f *.o getdate.c core a.out
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads