view docs/Makefile @ 247:4b36eaaf80c3

First attempt at fixing the drive letter problem on Windows Absolute paths in windows cannot be detected by simply checking for a leading slash, even in MinGW. Instead, apply a heuristic that looks for either a leading slash or a letter followed by a colon. This heuristic is only activated on windows builds.
author William Astle <lost@l-w.ca>
date Thu, 24 Jan 2013 21:00:00 -0700
parents 411ef9735264
children e4ad15af2e93
line wrap: on
line source

all:
	hg rm manual/* || true
	rm -f manual/*.pdf manual/*.html
	docbook2html -o manual manual.docbook.sgml
	docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
	docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
	rm -f manual.docbook.html
	hg add manual/*