docs/door_data.tex
docs/door_warning.pdf
docs/inventory_data.tex
+docs/inventory.pdf
docs/main.aux
docs/main.log
docs/main.pdf
+------------------------------Python dependencies------------------------------
STANDARD MODULES
markdown Implements a version of markdown syntax. webpy bundles a
version of this in their `tools' subdirectory.
+------------------------------System dependencies------------------------------
+
+You need latex and metapost to compile the documents. The
+texlive-base, texlive-metapost, and context Debian packages should
+cover you. You can avoid the context dependency with some legwork,
+see
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465107
+
+
## How we have to start it now
webpy_func = web.webpyfunc(urls, globals(), False)
wsgi_func = web.wsgifunc(webpy_func)
- web.httpserver.runsecure(wsgi_func,
+ web.httpserver.runsimple(wsgi_func,
web.validip(self.options.ip),
ssl_private_key_filename=self.pkey_file,
ssl_certificate_filename=self.cert_file)
## image generation rules, to handle the images in $(IMAGES)
-mp/NFPA.1 :
+mp/NFPA.1 : mp/NFPA.mp
$(MAKE) -C mp images
## Big targets
-all : pdf html dvi view
+all : pdf view # html dvi view
view : pdf
$(PDF_VIEWER) main.pdf &
MPS = NFPA
-TEMP_FILES = $(MPS:%=%.mp[a-z]) $(MPS:%=%.log) mp* texnum.mpx
+TEMP_FILES = $(MPS:%=%.mp[a-z]) $(MPS:%=%.log) mp* texnum.mpx NFPA.mp
GENERATED_FILES = $(MPS:%=%.[0-9]*) sample.log sample.aux sample.pdf
#PDFVIEWER = gv
semi-clean :
rm -f $(TEMP_FILES)
+# Dummy NFPA.mp in case the pdf doesn't need it,
+# since ./doc/Makefile always thinks the pdf needs NFPA.1
+NFPA.mp : gen_NFPA.sh
+ $< 9 9 9 y y > $@
+
# generate a pdf containing all mp images for previewing-troubleshooting
# depend on the first image from each mp file
sample.pdf : sample.tex images