annotate 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 |
rev |
line source |
169
|
1 all:
|
170
|
2 hg rm manual/* || true
|
|
3 rm -f manual/*.pdf manual/*.html
|
169
|
4 docbook2html -o manual manual.docbook.sgml
|
|
5 docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
|
|
6 docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
|
174
|
7 rm -f manual.docbook.html
|
169
|
8 hg add manual/*
|