mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-03 22:50:30 +00:00
clean up makefile
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2406 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
fa6f97b2b7
commit
b541df274f
1 changed files with 5 additions and 22 deletions
27
doc/Makefile
27
doc/Makefile
|
|
@ -1,27 +1,10 @@
|
|||
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
|
||||
po4a:
|
||||
po4a po4a.conf
|
||||
|
||||
apidocs:
|
||||
epydoc --html -o api --name "LinkChecker source documentation" --url ../index.html ../linkcheck/
|
||||
|
||||
po4a:
|
||||
po4a po4a.conf
|
||||
|
||||
.PHONY: all clean homepage nav apidocs po4a
|
||||
clean:
|
||||
rm -f *.pyc *.pyo
|
||||
|
||||
.PHONY: apidocs po4a clean
|
||||
|
|
|
|||
Loading…
Reference in a new issue