# LaTeX source dependencies.

COMMONSTYLES= texinputs/python.sty \
	texinputs/pypaper.sty

INDEXSTYLES=texinputs/python.ist

COMMONTEX= texinputs/copyright.tex \
	texinputs/license.tex \
	texinputs/boilerplate.tex

MANSTYLES= texinputs/fncychap.sty \
	texinputs/manual.cls \
	$(COMMONSTYLES)

HOWTOSTYLES= texinputs/howto.cls \
	$(COMMONSTYLES)


APIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	api/api.tex \
	api/abstract.tex \
	api/concrete.tex \
	api/exceptions.tex \
	api/init.tex \
	api/intro.tex \
	api/memory.tex \
	api/newtypes.tex \
	api/refcounting.tex \
	api/utilities.tex \
	api/veryhigh.tex \
	texinputs/reportingbugs.tex

# These files are generated from those listed above, and are used to
# generate the typeset versions of the manuals.  The list is defined
# here to make it easier to ensure parallelism.
ANNOAPIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	paper-$(PAPER)/api.tex \
	paper-$(PAPER)/abstract.tex \
	paper-$(PAPER)/concrete.tex \
	paper-$(PAPER)/exceptions.tex \
	paper-$(PAPER)/init.tex \
	paper-$(PAPER)/intro.tex \
	paper-$(PAPER)/memory.tex \
	paper-$(PAPER)/newtypes.tex \
	paper-$(PAPER)/refcounting.tex \
	paper-$(PAPER)/utilities.tex \
	paper-$(PAPER)/veryhigh.tex \
	texinputs/reportingbugs.tex

DOCFILES= $(HOWTOSTYLES) \
	texinputs/boilerplate.tex \
	texinputs/ltxmarkup.sty \
	doc/doc.tex

EXTFILES= ext/ext.tex $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	ext/extending.tex \
	ext/newtypes.tex \
	ext/unix.tex \
	ext/windows.tex \
	ext/embedding.tex \
	texinputs/reportingbugs.tex

TUTFILES= tut/tut.tex $(MANSTYLES) $(COMMONTEX)

# LaTeX source files for the Python Reference Manual
REFFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	ref/ref.tex \
	ref/ref1.tex \
	ref/ref2.tex \
	ref/ref3.tex \
	ref/ref4.tex \
	ref/ref5.tex \
	ref/ref6.tex \
	ref/ref7.tex \
	ref/ref8.tex \
	ref/refa1.tex

# LaTeX source files for the Python Library Reference
LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	lib/lib.tex \
	lib/asttable.tex \
	lib/compiler.tex \
	lib/distutils.tex \
	lib/email.tex \
	lib/emailencoders.tex \
	lib/emailexc.tex \
	lib/emailgenerator.tex \
	lib/emailiter.tex \
	lib/emailmessage.tex \
	lib/emailparser.tex \
	lib/emailutil.tex \
	texinputs/reportingbugs.tex \
	lib/libintro.tex \
	lib/libobjs.tex \
	lib/libstdtypes.tex \
	lib/libexcs.tex \
	lib/libfuncs.tex \
	lib/libpython.tex \
	lib/libsys.tex \
	lib/libfpectl.tex \
	lib/libgc.tex \
	lib/libweakref.tex \
	lib/libinspect.tex \
	lib/libpydoc.tex \
	lib/libdifflib.tex \
	lib/libdoctest.tex \
	lib/libunittest.tex \
	lib/libtypes.tex \
	lib/libtraceback.tex \
	lib/libpickle.tex \
	lib/libshelve.tex \
	lib/libcopy.tex \
	lib/libmarshal.tex \
	lib/libwarnings.tex \
	lib/libimp.tex \
	lib/libparser.tex \
	lib/libbltin.tex \
	lib/libmain.tex \
	lib/libstrings.tex \
	lib/libstring.tex \
	lib/libcodecs.tex \
	lib/libunicodedata.tex \
	lib/libstruct.tex \
	lib/libmisc.tex \
	lib/libmath.tex \
	lib/librand.tex \
	lib/libwhrandom.tex \
	lib/libarray.tex \
	lib/liballos.tex \
	lib/libos.tex \
	lib/libtime.tex \
	lib/libgetopt.tex \
	lib/libtempfile.tex \
	lib/liberrno.tex \
	lib/libsomeos.tex \
	lib/libsignal.tex \
	lib/libsocket.tex \
	lib/libselect.tex \
	lib/libthread.tex \
	lib/libunix.tex \
	lib/libposix.tex \
	lib/libposixpath.tex \
	lib/libpwd.tex \
	lib/libgrp.tex \
	lib/libcrypt.tex \
	lib/libdbm.tex \
	lib/libgdbm.tex \
	lib/libtermios.tex \
	lib/libfcntl.tex \
	lib/libposixfile.tex \
	lib/libsyslog.tex \
	lib/libpdb.tex \
	lib/libprofile.tex \
	lib/libcgi.tex \
	lib/libcgitb.tex \
	lib/liburllib.tex \
	lib/liburllib2.tex \
	lib/libhttplib.tex \
	lib/libftplib.tex \
	lib/libgopherlib.tex \
	lib/libnntplib.tex \
	lib/liburlparse.tex \
	lib/libhtmlparser.tex \
	lib/libhtmllib.tex \
	lib/libsgmllib.tex \
	lib/librfc822.tex \
	lib/libmimetools.tex \
	lib/libmimewriter.tex \
	lib/libbinascii.tex \
	lib/libmm.tex \
	lib/libaudioop.tex \
	lib/libimageop.tex \
	lib/libaifc.tex \
	lib/libjpeg.tex \
	lib/librgbimg.tex \
	lib/libcrypto.tex \
	lib/libmd5.tex \
	lib/libsha.tex \
	lib/libmpz.tex \
	lib/libhmac.tex \
	lib/librotor.tex \
	lib/libstdwin.tex \
	lib/libsgi.tex \
	lib/libal.tex \
	lib/libcd.tex \
	lib/libfl.tex \
	lib/libfm.tex \
	lib/libgl.tex \
	lib/libimgfile.tex \
	lib/libsun.tex \
	lib/libxdrlib.tex \
	lib/libimghdr.tex \
	lib/librestricted.tex \
	lib/librexec.tex \
	lib/libbastion.tex \
	lib/libformatter.tex \
	lib/liboperator.tex \
	lib/libresource.tex \
	lib/libstat.tex \
	lib/libstringio.tex \
	lib/libtoken.tex \
	lib/libkeyword.tex \
	lib/libundoc.tex \
	lib/libmailcap.tex \
	lib/libglob.tex \
	lib/libuser.tex \
	lib/libanydbm.tex \
	lib/libbsddb.tex \
	lib/libdbhash.tex \
	lib/librandom.tex \
	lib/libsite.tex \
	lib/libwhichdb.tex \
	lib/libbase64.tex \
	lib/libfnmatch.tex \
	lib/libquopri.tex \
	lib/libzlib.tex \
	lib/libsocksvr.tex \
	lib/libmailbox.tex \
	lib/libcommands.tex \
	lib/libcmath.tex \
	lib/libgzip.tex \
	lib/libzipfile.tex \
	lib/libpprint.tex \
	lib/libcode.tex \
	lib/libmimify.tex \
	lib/libre.tex \
	lib/libuserdict.tex \
	lib/libdis.tex \
	lib/libxmllib.tex \
	lib/libxmlrpclib.tex \
	lib/libsimplexmlrpc.tex \
	lib/libpyexpat.tex \
	lib/xmldom.tex \
	lib/xmldomminidom.tex \
	lib/xmldompulldom.tex \
	lib/xmlsax.tex \
	lib/xmlsaxhandler.tex \
	lib/xmlsaxutils.tex \
	lib/xmlsaxreader.tex \
	lib/libqueue.tex \
	lib/liblocale.tex \
	lib/libgettext.tex \
	lib/libbasehttp.tex \
	lib/libcookie.tex \
	lib/libcopyreg.tex \
	lib/libsymbol.tex \
	lib/libbinhex.tex \
	lib/libuu.tex \
	lib/libsunaudio.tex \
	lib/libfileinput.tex \
	lib/libxreadlines.tex \
	lib/libimaplib.tex \
	lib/libpoplib.tex \
	lib/libcalendar.tex \
	lib/libpopen2.tex \
	lib/libbisect.tex \
	lib/libmimetypes.tex \
	lib/libsmtplib.tex \
	lib/libcmd.tex \
	lib/libmultifile.tex \
	lib/libthreading.tex \
	lib/libwebbrowser.tex \
	lib/internet.tex \
	lib/netdata.tex \
	lib/markup.tex \
	lib/language.tex \
	lib/libpycompile.tex \
	lib/libcompileall.tex \
	lib/libshlex.tex \
	lib/libnetrc.tex \
	lib/librobotparser.tex \
	lib/libgetpass.tex \
	lib/libshutil.tex \
	lib/librepr.tex \
	lib/libmsvcrt.tex \
	lib/libwinreg.tex \
	lib/libwinsound.tex \
	lib/windows.tex \
	lib/libpyclbr.tex \
	lib/libtokenize.tex \
	lib/libtabnanny.tex \
	lib/libmhlib.tex \
	lib/libtelnetlib.tex \
	lib/libcolorsys.tex \
	lib/libfpformat.tex \
	lib/libcgihttp.tex \
	lib/libsimplehttp.tex \
	lib/liblinecache.tex \
	lib/libnew.tex \
	lib/libdircache.tex \
	lib/libfilecmp.tex \
	lib/libstatcache.tex \
	lib/libsunau.tex \
	lib/libwave.tex \
	lib/libchunk.tex \
	lib/libcodeop.tex \
	lib/libcurses.tex \
	lib/libcursespanel.tex \
	lib/libascii.tex \
	lib/libdl.tex \
	lib/libmutex.tex \
	lib/libnis.tex \
	lib/libpipes.tex \
	lib/libpty.tex \
	lib/libreadline.tex \
	lib/librlcompleter.tex \
	lib/libsched.tex \
	lib/libstatvfs.tex \
	lib/libtty.tex \
	lib/libasyncore.tex \
	lib/libatexit.tex \
	lib/libmmap.tex \
	lib/tkinter.tex \
	lib/libturtle.tex \
	lib/libcfgparser.tex

# LaTeX source files for Macintosh Library Modules.
MACFILES= $(HOWTOSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	mac/mac.tex \
	mac/using.tex \
	mac/toolbox.tex \
	mac/undoc.tex \
	mac/libcolorpicker.tex \
	mac/libmac.tex \
	mac/libaepack.tex \
	mac/libaetypes.tex \
	mac/libctb.tex \
	mac/libmacfs.tex \
	mac/libmacos.tex \
	mac/libmacostools.tex \
	mac/libmacspeech.tex \
	mac/libmacui.tex \
	mac/libmacic.tex \
	mac/libframework.tex \
	mac/libminiae.tex

INSTFILES = $(HOWTOSTYLES) inst/inst.tex

DISTFILES = $(HOWTOSTYLES) \
	dist/dist.tex \
	dist/sysconfig.tex
