# LaTeX source dependencies.

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

INDEXSTYLES=texinputs/python.ist

COMMONTEX=commontex/copyright.tex \
	commontex/license.tex \
	commontex/patchlevel.tex \
	commontex/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 \
	commontex/typestruct.h \
	commontex/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) api/refcounts.dat \
	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 \
	commontex/reportingbugs.tex

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

EXTFILES= ext/ext.tex $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	ext/extending.tex \
	ext/newtypes.tex \
	ext/building.tex \
	ext/windows.tex \
	ext/embedding.tex \
	ext/noddy.c \
	ext/noddy2.c \
	ext/noddy3.c \
	ext/noddy4.c \
	ext/run-func.c \
	commontex/typestruct.h \
	commontex/reportingbugs.tex

TUTFILES= tut/tut.tex tut/glossary.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 

# LaTeX source files for the Python Library Reference
LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
	commontex/reportingbugs.tex \
	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 \
	lib/libintro.tex \
	lib/libobjs.tex \
	lib/libstdtypes.tex \
	lib/libexcs.tex \
	lib/libconsts.tex \
	lib/libfuncs.tex \
	lib/libpython.tex \
	lib/libsys.tex \
	lib/libplatform.tex \
	lib/libfpectl.tex \
	lib/libgc.tex \
	lib/libsets.tex \
	lib/libweakref.tex \
	lib/libinspect.tex \
	lib/libpydoc.tex \
	lib/libdifflib.tex \
	lib/libdoctest.tex \
	lib/libunittest.tex \
	lib/libtest.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/libzipimport.tex \
	lib/librunpy.tex \
	lib/libpkgutil.tex \
	lib/libparser.tex \
	lib/libbltin.tex \
	lib/libmain.tex \
	lib/libfuture.tex \
	lib/libstrings.tex \
	lib/libstring.tex \
	lib/libtextwrap.tex \
	lib/libcodecs.tex \
	lib/libunicodedata.tex \
	lib/libstringprep.tex \
	lib/libstruct.tex \
	lib/libmisc.tex \
	lib/libmath.tex \
	lib/libdecimal.tex \
	lib/libarray.tex \
	lib/liballos.tex \
	lib/libos.tex \
	lib/libdatetime.tex \
	lib/tzinfo-examples.py \
	lib/libtime.tex \
	lib/libgetopt.tex \
	lib/liboptparse.tex \
	lib/caseless.py \
	lib/required_1.py \
	lib/required_2.py \
	lib/libtempfile.tex \
	lib/liberrno.tex \
	lib/libctypes.tex \
	lib/libsomeos.tex \
	lib/libsignal.tex \
	lib/libsocket.tex \
	lib/libselect.tex \
	lib/libthread.tex \
	lib/libdummythread.tex \
	lib/libunix.tex \
	lib/libposix.tex \
	lib/libposixpath.tex \
	lib/libpwd.tex \
	lib/libspwd.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/liblogging.tex \
	lib/libpdb.tex \
	lib/libprofile.tex \
	lib/libhotshot.tex \
	lib/libtimeit.tex \
	lib/libtrace.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/libossaudiodev.tex \
	lib/libcrypto.tex \
	lib/libhashlib.tex \
	lib/libmd5.tex \
	lib/libsha.tex \
	lib/libhmac.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/libdumbdbm.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/libbz2.tex \
	lib/libzipfile.tex \
	lib/libpprint.tex \
	lib/libcode.tex \
	lib/libmimify.tex \
	lib/libre.tex \
	lib/libuserdict.tex \
	lib/libdis.tex \
	lib/libxmlrpclib.tex \
	lib/libsimplexmlrpc.tex \
	lib/libdocxmlrpc.tex \
	lib/libpyexpat.tex \
	lib/libfunctools.tex \
	lib/xmldom.tex \
	lib/xmldomminidom.tex \
	lib/xmldompulldom.tex \
	lib/xmlsax.tex \
	lib/xmlsaxhandler.tex \
	lib/xmlsaxutils.tex \
	lib/xmlsaxreader.tex \
	lib/libetree.tex \
	lib/libqueue.tex \
	lib/liblocale.tex \
	lib/libgettext.tex \
	lib/libbasehttp.tex \
	lib/libcookie.tex \
	lib/libcookielib.tex \
	lib/libcopyreg.tex \
	lib/libsymbol.tex \
	lib/libbinhex.tex \
	lib/libuu.tex \
	lib/libsunaudio.tex \
	lib/libfileinput.tex \
	lib/libimaplib.tex \
	lib/libpoplib.tex \
	lib/libcalendar.tex \
	lib/libpopen2.tex \
	lib/libbisect.tex \
	lib/libcollections.tex \
	lib/libheapq.tex \
	lib/libmimetypes.tex \
	lib/libsmtplib.tex \
	lib/libsmtpd.tex \
	lib/libcmd.tex \
	lib/libmultifile.tex \
	lib/libthreading.tex \
	lib/libdummythreading.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/libmsilib.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/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/libasynchat.tex \
	lib/libatexit.tex \
	lib/libmmap.tex \
	lib/tkinter.tex \
	lib/libturtle.tex \
	lib/libtarfile.tex \
	lib/libcsv.tex \
	lib/libcfgparser.tex \
	lib/libsqlite3.tex

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

INSTFILES = $(HOWTOSTYLES) inst/inst.tex

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