diff --git a/makefile-templates/Makefile.lecture b/makefile-templates/Makefile.lecture index f4fce75..a87d128 100755 --- a/makefile-templates/Makefile.lecture +++ b/makefile-templates/Makefile.lecture @@ -19,6 +19,14 @@ # shared directory hierarchy (e.g., /path/to/Teaching/Shared). # TEACHING_SHARED?=$(error The required environment variable TEACHING_SHARED has not been defined. It should point to the root level of the shared teaching directory (e.g., /path/to/Teaching/Shared)) +# +# HANDBOOK_INSTALL_ROOT +# This variable specifies the path to the top level directory on the web +# server, under which the files for this paper will be installed (that is, +# the directory that contains the individual paper directory hierarchies). +# For example, \\INFO-NTS-12\DBCourses$ (this may require munging). +# +HANDBOOK_INSTALL_ROOT?=$(error The required environment variable HANDBOOK_INSTALL_ROOT has not been defined. It should point to the root level of the directory hierarchy on the web server (e.g., \\INFO-NTS-12\DBCourses$)) ################################################################################ @@ -73,6 +81,21 @@ ################################################################################ # +# Specify the subject code and paper number. THESE MUST BE DEFINED! +# +SUBJECT_CODE?=INFO +PAPER_NUMBER?=212 + + +################################################################################ +# +# Directory to install files into on web server. +# +INSTALL_DIRECTORY:=$(HANDBOOK_INSTALL_ROOT)/$(SUBJECT_CODE)$(PAPER_NUMBER)/www/Lectures + + +################################################################################ +# # Uncomment any of the following to prevent a particular document from # being built. This is necessary if, for example, the current set of # lectures has no figures and examples. @@ -112,6 +135,17 @@ FIG_FILES= # +# List of files other than the standard ones (slides, figures, combined) +# to be installed on the web server. By default, install the following +# files: ChapterXslides.pdf, ChapterXcombined.pdf, ChapterXfigures.pdf, +# ChapterXfigures-reduced.pdf. This can include files in subdirectories +# (e.g., foo/bar.pdf), but the subdirectories themselves will not be +# created at the other end (i.e., the directory structure will be +# flattened). +# +INSTALL_FILES= + +# # Files to be cleaned by the various "clean" targets. The "standard" values # are currently: # TIDY_FILES=*.tmp *.out *.log *.nav *.toc *.snm *.head *.dvi \