mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-19 22:01:00 +00:00
add .PHONY and test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3080 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
68a4d32212
commit
f3e06e74e7
1 changed files with 6 additions and 0 deletions
|
|
@ -5,15 +5,21 @@ HTMLDIR := /home/calvin/public_html/linkchecker.sf.net
|
|||
|
||||
all: $(HTMLFILES)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(HTMLFILES) $(NAVFILES)
|
||||
|
||||
%.html: %.txt ../htmlnav.py ../bfknav.py
|
||||
../rest2htmlnav --stylesheet-path=lc.css --time $< $@
|
||||
|
||||
.PHONY: nav
|
||||
nav: all
|
||||
python2.4 ../bfknav.py
|
||||
|
||||
.PHONY: homepage
|
||||
homepage: nav
|
||||
cp *.html *.css *.jpg *.png *.ico $(HTMLDIR)/htdocs
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
xmllint --valid --noout *.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue