comparison website/www/Makefile @ 4703:8e34362a14f7

issue2550774: Fix generating the website documentation - the COPYING.txt file needs to be symlinked into website/www/ so the documentation can be generated correctly - add website/www/COPYING.txt to the .hgignore file so the symlinked version does not get accidentally committed to the repository - the website documentation Makefile 'clean' removes the symlinks and the generated html to return things back to the original state, which is what should happen on a 'clean'
author John Kristensen <john@jerrykan.com>
date Sun, 16 Dec 2012 13:18:11 +1100
parents 9ed905019303
children 977e0ef08406
comparison
equal deleted inserted replaced
4702:3dc458554d68 4703:8e34362a14f7
7 @echo "Please use \`make <target>' where <target> is one of" 7 @echo "Please use \`make <target>' where <target> is one of"
8 @echo " html to make standalone HTML files" 8 @echo " html to make standalone HTML files"
9 @echo " linkcheck to check all external links for integrity" 9 @echo " linkcheck to check all external links for integrity"
10 10
11 clean: 11 clean:
12 -rm -rf $(TMP) 12 -rm -rf $(TMP) $(HTML) docs COPYING.txt
13 13
14 docs: 14 docs:
15 ln -s ../../doc ./docs 15 ln -s ../../doc ./docs
16 ln -s ../../COPYING.txt
16 17
17 html: docs 18 html: docs
18 mkdir -p $(TMP)/doctrees $(HTML) 19 mkdir -p $(TMP)/doctrees $(HTML)
19 sphinx-build -b html -d $(TMP)/doctrees . $(HTML) 20 sphinx-build -b html -d $(TMP)/doctrees . $(HTML)
20 21

Roundup Issue Tracker: http://roundup-tracker.org/