linkchecker/doc/html/Makefile
2011-04-13 11:23:52 +02:00

26 lines
581 B
Makefile

HELPFILES = lccollection.qhc
HTMLFILES = index.html options.html
FAVICONS = favicon32x32.png favicon16x16.png
LOGOICONS = logo128x128.png
all: $(HELPFILES) $(HTMLFILES)
.PHONY: clean
clean:
-rm -f *.qhc *.qch
%.html: %.txt html.header html.footer
(cat html.header; markdown2 $<; cat html.footer) > $@
.PHONY: clean
test:
xmllint --valid --noout $(HTMLFILES)
%.qhc: %.qhcp lcdoc.qhp $(HTMLFILES)
qcollectiongenerator $< -o $@
favicon.ico: $(FAVICONS)
png2ico favicon.ico $(FAVICONS)
favicon.icns: $(FAVICONS) $(LOGOICONS)
png2icns favicon.icns $(FAVICONS) $(LOGOICONS)