view website/www/Makefile @ 5550:4d32fa88c5d2

Remove duplicate @csrf nonce from form. Duplicate nonce was causing: File "/home/roundup/lib/python2.6/site-packages/roundup/cgi/client.py", line 1154, in handle_csrf key=self.form['@csrf'].value AttributeError: 'list' object has no attribute 'value' traceback.
author John Rouillard <rouilj@ieee.org>
date Tue, 09 Oct 2018 19:48:15 -0400
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/