2006-04-26 10:48:09 +00:00
|
|
|
MKHTML=mkdoc
|
2006-05-09 07:55:16 +00:00
|
|
|
MKHTML_OPT=--doctype article --param toc.section.depth=1 --target html --stylesheet single-file
|
2006-04-26 10:48:09 +00:00
|
|
|
|
|
|
|
SRC=.
|
|
|
|
|
|
|
|
|
2008-02-07 08:56:27 +00:00
|
|
|
all: manual.html quickstart.html features.html FAQ.html beginner_pylint_tutorial.html examples man
|
2006-04-26 10:48:09 +00:00
|
|
|
|
|
|
|
FAQ.html: ${SRC}/FAQ.txt
|
|
|
|
${MKHTML} ${MKHTML_OPT} ${SRC}/FAQ.txt
|
|
|
|
|
|
|
|
quickstart.html: ${SRC}/quickstart.txt
|
|
|
|
${MKHTML} ${MKHTML_OPT} ${SRC}/quickstart.txt
|
|
|
|
|
2008-02-07 08:56:27 +00:00
|
|
|
manual.html: ${SRC}/manual.txt ${SRC}/FAQ.txt
|
2006-05-09 07:55:16 +00:00
|
|
|
${MKHTML} ${MKHTML_OPT} ${SRC}/manual.txt
|
|
|
|
|
2008-02-07 08:48:46 +00:00
|
|
|
beginner_pylint_tutorial.html: ${SRC}/beginner_pylint_tutorial.txt
|
|
|
|
${MKHTML} ${MKHTML_OPT} ${SRC}/beginner_pylint_tutorial.txt
|
|
|
|
|
2006-04-26 10:48:09 +00:00
|
|
|
features.html:
|
|
|
|
chmod u+w ${SRC}/features.txt
|
|
|
|
echo "PyLint features" > ${SRC}/features.txt
|
|
|
|
echo "===============" >> ${SRC}/features.txt
|
|
|
|
echo "" >> ${SRC}/features.txt
|
|
|
|
echo ".. contents::" >> ${SRC}/features.txt
|
|
|
|
echo "" >> ${SRC}/features.txt
|
|
|
|
pylint --list-msgs >> ${SRC}/features.txt
|
|
|
|
${MKHTML} ${MKHTML_OPT} ${SRC}/features.txt
|
|
|
|
|
|
|
|
examples:
|
|
|
|
chmod u+w ../examples/pylintrc
|
|
|
|
pylint --generate-rcfile > ../examples/pylintrc
|
|
|
|
|
|
|
|
man:
|
|
|
|
chmod u+w ../man/pylint.1
|
|
|
|
pylint --generate-man > ../man/pylint.1
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.html
|
|
|
|
|
|
|
|
.PHONY: features.html
|