- ################################################################################
- #
- # File: $Id$
- #
- # Template makefile for building a set of lecture files.
- #
- ################################################################################
-
-
- SHELL=/bin/sh
-
-
- ################################################################################
- #
- # Required Environment Variables
- #
- # TEACHING_SHARED
- # This variable specifies the path to the top level of the teaching
- # 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))
-
-
- ################################################################################
- #
- # Set up paths to makefile include directories.
- #
- # GLOBAL_HANDBOOK_INCLUDE is the global include directory in the "Shared"
- # hierarchy, and is defined relative to the root of that hierarchy.
- #
- GLOBAL_HANDBOOK_INCLUDE?=$(TEACHING_SHARED)/Authoring/Handbook/make-includes
-
-
- ################################################################################
- #
- # Specify the current lecture chapter number. This must be defined!
- #
- CHAPTER?=$(error The required variable CHAPTER has not been defined. Please set it to the correct chapter number for this set of 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.
- #
- # SLIDES=
- # FIGURES=
- # COMBINED=
- # NOTES=
-
-
- ################################################################################
- #
- # Include standard variables and rules for building lectures.
- #
- include $(GLOBAL_HANDBOOK_INCLUDE)/build_lecture_rules.make
-
-
- ################################################################################
- #
- # Add custom rules below here as necessary, and uncomment and modify the
- # variables as appropriate.
- #
- # Add extra file suffixes here.
- #
- # .SUFFIXES:
- #
- # Add extra LaTeX document options here.
- #
- # LATEX_OPTS+=
- #
- # Add extra "phony" build targets here (you still need to define rules for
- # them!).
- #
- # TARGETS+=
- #
- # Add extra vpaths here.
- #
- # vpath %.blah foo
- #
- # Add extra files to be deleted by the "clean" targets here.
- # $(TIDY_FILES) is a list of generated intermediate files to clean up.
- # $(CLEAN_FILES) is everything else that might need to be cleaned up.
- #
- # TIDY_FILES+=
- # CLEAN_FILES+=
- #
- # Add extra image files of various sorts here. (Slide backgrounds are
- # images used as backgrounds to slides or watermarks, rather than as
- # actual content.)
- #
- # SLIDE_IMAGES+=
- # SLIDE_BACKGROUNDS+=
- # FIG_IMAGES+=