File: Makefile

package info (click to toggle)
funkload 1.6.2-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 844 kB
  • ctags: 733
  • sloc: python: 5,399; makefile: 116; sh: 46; perl: 23
file content (28 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
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 := cvs.in.nuxeo.com:~/public_public_html/funkload
HTML_DOCS := README.html INSTALL.html CHANGES.html
CSS_FILE := ../funkload/data/funkload.css
RST2HTML := rst2html.py -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/  ../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