#############################################################
# Filesets for the various versions of the NAG
#############################################################

#############################################################
# TeX source files, including private & linuxdoc style files
#############################################################
TEXALL= toplevel/net.tex Config.tex			\
	misc/title.tex misc/foreword.tex		\
	intro/networks.tex intro/tcpip.tex		\
	hardware/net-hw.tex hardware/serial.tex		\
	config/interfaces.tex config/resolver.tex	\
	slip/slip.tex slip/ppp.tex			\
	inet/appl.tex					\
	sun/nis.tex sun/nfs.tex				\
	uucp/uucp.tex					\
	mail/mail.tex mail/smail.tex mail/sendmail.tex	\
	news/news.tex news/cnews.tex news/nntp.tex	\
	news/readers.tex				\
	misc/appendix.tex misc/abib.tex misc/gpl.tex	\
	misc/gloss.tex misc/index.tex
STYLES= styles/latex/linuxdoc.sty styles/latex/private.sty\
	styles/latex/lotex.sty
TEXSRC= toplevel/nag.tex $(TEXALL)
TEXFIG=	$(FIG:.fig=.eepic)
TEXIDX= index/nag.ind
TEXDEP=	$(TEXSRC) $(STYLES) $(TEXFIG)
DVI=	nag.dvi


#############################################################
# Figures in FIG 2.1 format
#############################################################
FIG=	figures/dns.fig figures/groucho.fig figures/iface.fig	\
	figures/subnet.fig figures/subnet2.fig 			\
	figures/ip-flow.fig figures/flow.fig figures/gmu.fig	\
	figures/uucp.fig

# epic macros needed for fig->tex conversion. Included in the source
# distribution for those that don't have them.
EPIC=	styles/epic.sty styles/eepic.sty


#############################################################
# Prerequisites for tex->Postscript conversion
#############################################################
PSSRC=  toplevel/nagps.tex $(TEXALL)
PSFIG=	$(FIG:.fig=.epsf)
PSIDX=  index/nagps.ind
PSDEP=	$(PSSRC) $(STYLES) $(PSFIG)
PS=	nag.ps nag-ps.diff

#############################################################
# Prerequisites for tex->texinfo conversion
#############################################################
TEXISRC=nag.texi $(TEXIFIG)
TEXIDEP=$(TEXISRC) $(TEXSRC)
TEXIFIG=$(FIG:.fig=.texi)
TEXI=	net.texi net.menu nag.texi

#############################################################
# roff master file
#############################################################
ROFFSRC=$(ROFFFIG)
ROFFDEP=$(ROFFSRC)
ROFFFIG=
ROFF=	nag.mm

#############################################################
# Files in the distribution
#############################################################
BLURB=	 README COPYING TODO MANIFEST Makefile
SRCDIST= $(BLURB) FILESETS $(FIG) $(STYLES) $(EPIC)	\
	 $(TEXSRC) $(TEXIDX)				\
	 $(PSSRC) $(PSIDX)				\
	 $(TEXISRC) 					\
	 $(ROFFSRC)
DVIDIST= $(BLURB) $(DVI)
PSDIST=  $(BLURB) $(PS)
TEXIDIST=$(BLURB) $(TEXI)
ROFFDIST=$(BLURB) $(ROFF)
