: Make a tar distribution of NewsClip to stdout
SRCS="header.c nllib.c main.c article.c nrc.c flist.c \
	whoami.c db.c userlib.c userdb.c group.c alloc.c \
	has.c scanbody.c regexp.c pipe.c mkdat.c"
MKNSRCS="mknewsrc.c"
EXTRAS="getdate.y Makefile READ.ME distlist guide nctest.nc Licence distr"
COMPSRC="comp/art.c comp/check.c comp/clib.c comp/hlist.c comp/lex.c \
	comp/ncc.c comp/node.c comp/out.c comp/predef.c \
	comp/symtab.c comp/tree.c comp/wrdata.c comp/nl.y \
	comp/node.m4 \
	comp/cfuncs.h comp/common.h comp/nc.h comp/node.h comp/tree.h \
	comp/ucode.h comp/y.tab.h comp/Makefile"
DOCS="doc/*.1 doc/man.mm doc/append.mm doc/filter.man"
( cd doc; sh mknr )
rm Makefile comp/Makefile
ln Makefile.dist Makefile
ln comp/Makefile.dist comp/Makefile
tar cf - About $DOCS $SRCS $MKNSRCS $EXTRAS *.h sysdefs.??* samples/* patch/* \
	$COMPSRC | compress >/v/claripub/nc.tar.Z
rm Makefile comp/Makefile
ln Makefile.local Makefile
ln comp/Makefile.local comp/Makefile
