GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
1
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Handbook
Browse code
Added a regular expression to control which lecture directories are installed.
master
1 parent
c2c2053
commit
d0aff31b127f0fdda0897c03ea2fb953f3af746c
Nigel Stanger
authored
on 5 Jul 2013
Patch
Showing
1 changed file
makefile-templates/install.patterns
Ignore Space
Show notes
View
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)
################################################################################ # # 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. # 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)
Show line notes below