linkchecker/doc/Makefile
2005-03-11 16:27:27 +00:00

27 lines
620 B
Makefile

RESTFILES = $(wildcard *.txt)
HTMLFILES = $(patsubst %.txt, %.html, $(RESTFILES) )
NAVFILES = $(patsubst %.txt, %.nav, $(RESTFILES) )
HTMLDIR := /home/calvin/public_html/linkchecker.sf.net
all: $(HTMLFILES)
%.html: %.txt htmlnav.py bfknav.py
./rest2htmlnav --stylesheet-path=lc.css --time $< $@
nav: all
python2.4 bfknav.py
homepage: nav
cp *.html *.css *.jpg *.png $(HTMLDIR)/htdocs
clean:
rm -f $(NAVFILES) $(HTMLFILES) *.pyc *.pyo
apidocs:
epydoc --html -o api --name "LinkChecker source documentation" --url ../index.html ../linkcheck/
po4a:
po4a po4a.conf
.PHONY: all clean homepage nav apidocs po4a