################################################################################ # # Specify standard environmental variables. These can be either actual # shell environment variables, or make variables. # ################################################################################ ################################################################################ # # Various environment variables. # # Set DRAFT to "draft" to run LaTeX in draft mode (i.e., make DRAFT=draft xxx). # DRAFT= # # Set PAPER_SIZE to an appropriate LaTeX value to change the paper size # (e.g., make PAPER_SIZE=letterpaper xxx). # ifndef PAPER_SIZE PAPER_SIZE=a4paper endif # # Set FONT_SIZE to an appropriate LaTeX value to change the font size # (e.g., make FONT_SIZE=10pt xxx). # ifndef FONT_SIZE FONT_SIZE=12pt endif # # Specify LaTeX document options (comma-separated list). # We need to add a comma if there is something there already! # ifdef LATEX_OPTS LATEX_OPTS+=, endif LATEX_OPTS+=$(FONT_SIZE),$(PAPER_SIZE),$(DRAFT) # # List of standard "phony" build targets. # TARGETS+=all debug test clean tidy targets