forked from nuxeo/FunkLoad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 717 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# FunkLoad doc Makefile
# $Id: $
# to build api documentation you need python docutils and epydoc
#
.PHONY: all epydoc clean distrib
TARGET := bertha_:~/public_public_html/funkload
HTML_DOCS := README.html INSTALL.html CHANGES.html
CSS_FILE := ../src/funkload/data/funkload.css
RST2HTML := rst2html -t --stylesheet-path=$(CSS_FILE) --embed-stylesheet
all: doc epydoc
doc: ${HTML_DOCS}
%.html: ../%.txt $(CSS_FILE)
${RST2HTML} $< $@
epydoc:
epydoc --name FunkLoad -u ../../ --html --output ./api/ ../src/funkload/
distrib: doc
scp -r ${HTML_DOCS} api $(TARGET)/
clean:
-rm -rf ./api/* $(HTML_DOCS)
-@find . "(" -name "*~" -or -name ".#*" -or -name "#*#" -or -name "*.pyc" ")" -print0 | xargs -0 rm -f