view website/www/Makefile @ 5866:f6bd55b37e9f

wiki: improve how styles are loaded * Change loading of the main site's style.css to use the file provided by the tracker, because it is served via https. This prepares the move of the wiki to a new hoster, as style.css does not have to served from there. It has the drawback that the tracker site has to be up for the wiki style to work.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 26 Aug 2019 17:18:38 +0200
parents 8e34362a14f7
children 977e0ef08406
line wrap: on
line source

TMP  := _tmp
HTML := html

.PHONY: help clean html linkcheck

help:
	@echo "Please use \`make <target>' where <target> is one of"
	@echo "  html      to make standalone HTML files"
	@echo "  linkcheck to check all external links for integrity"

clean:
	-rm -rf $(TMP) $(HTML) docs COPYING.txt

docs:
	ln -s ../../doc ./docs
	ln -s ../../COPYING.txt

html: docs
	mkdir -p $(TMP)/doctrees $(HTML)
	sphinx-build -b html -d $(TMP)/doctrees . $(HTML)

linkcheck:
	mkdir -p $(TMP)/linkcheck $(TMP)/doctrees
	sphinx-build -b linkcheck -d $(TMP)/doctrees . $(TMP)/linkcheck
	@echo
	@echo "Link check complete; look for any errors in the above output " \
	      "or in .build/linkcheck/output.txt."

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