linkchecker/doc/Makefile
2004-08-28 17:41:34 +00:00

22 lines
502 B
Makefile

SUBDIRS = devel misc
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
python bfknav.py
homepage: nav
cp *.html *.css *.jpg *.png $(HTMLDIR)/htdocs
clean:
rm -f $(NAVFILES) $(HTMLFILES) *.pyc *.pyo
.PHONY: all clean homepage nav apidocs