mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-21 00:10:24 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2821 e7d03fd6-7b0d-0410-9947-9c21f3af8025
19 lines
448 B
Makefile
19 lines
448 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)
|
|
|
|
clean:
|
|
rm -f $(HTMLFILES) $(NAVFILES)
|
|
|
|
%.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 *.ico $(HTMLDIR)/htdocs
|
|
|