Newer
Older
Handbook / makefile-templates / install.patterns
################################################################################
#
# Defines patterns for lists of documents to be installed on the
# web server. For example, only install Tutorials 1, 2, 4, 6-9 and 11.
# Patterns for different categories are kept in different files so
# that rules can depend on them independently if necessary.
#
################################################################################


################################################################################
#
# Which documents to install on the web server.
#
LECTURES_INSTALL_PATTERN:='\(0[1-9]\|1[0123]\)_.*' # or whatever

TUT_QUESTIONS_INSTALL_PATTERN:='tut\(0[1-9]\|1[01]\)'
TUT_ANSWERS_INSTALL_PATTERN:='tut\(0[1-9]\|1[01]\)'

LAB_QUESTIONS_INSTALL_PATTERN:='lab\(0[1-9]\|1[012]\)'
LAB_ANSWERS_INSTALL_PATTERN:='lab\(0[1-9]\|1[012]\)'

OTHER_QUESTIONS_INSTALL_PATTERNS:='handbook_root' 'course_outline' 'intro' 'case_study'
OTHER_ANSWERS_INSTALL_PATTERNS:='handbook_root' 'course_outline' 'intro' 'case_study'

QUESTION_INSTALL_PATTERNS+=$(TUT_QUESTIONS_INSTALL_PATTERN) \
	$(LAB_QUESTIONS_INSTALL_PATTERN) $(OTHER_QUESTIONS_INSTALL_PATTERNS)

ANSWER_INSTALL_PATTERNS+=$(TUT_ANSWERS_INSTALL_PATTERN) \
	$(LAB_ANSWERS_INSTALL_PATTERN) $(OTHER_ANSWERS_INSTALL_PATTERNS)