Newer
Older
Handbook / make-includes / standard_paths.make
################################################################################
#
# Specify standard file path list.
#
################################################################################


################################################################################
#
# Required make variables. These should be defined by the calling makefile.
#
# IMGDIR
#	The path to the directory that contains images, e.g., "images".
#
IMGDIR?=$(error The required make variable IMGDIR has not been defined. Please set it to the directory in which images are located)
#
# PAPER_INCLUDE_PATH
#   The path to the directory that contains LaTeX include files for a paper.
#   This defaults to the root level of the paper as specified by the current
#   Makefile.
#
PAPER_INCLUDE_PATH?=$(ALL_PAPERS_ROOT)/$(SUBJECT_CODE)$(PAPER_NUMBER)
#
# LATEX_INIT_FILE
#   The base name of the LaTeX initialisation file for the paper (default
#   "paper_init").
#
LATEX_INIT_FILE?=paper_init


################################################################################
#
# Standard paths.
#
vpath %.pdf $(IMGDIR)
vpath %.png $(IMGDIR)
vpath %.tif $(IMGDIR)
vpath %.jpg $(IMGDIR)
vpath %.plo $(IMGDIR)
vpath %.ps $(IMGDIR)
vpath %.eps $(IMGDIR)
vpath %.svg $(IMGDIR)
vpath %.pict $(IMGDIR)
vpath %.xcf $(IMGDIR)
vpath %.R $(IMGDIR)
vpath %.pu $(IMGDIR)