Mercurial > hg
annotate tests/test-help @ 8311:e0eb03bfa5af
manpage build: fail early when xmlto is not available
When we try to build manpages with xmlto and sed, but xmlto is
missing fail at the xmlto stage. Otherwise, one may run `cd doc;
make' and miss the warnings like:
xmlto: not found
sed: hg.1: No such file or directory
and end up with empty files installed as manpages.
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Thu, 07 May 2009 15:08:25 +0300 |
parents | 01215ad04283 |
children | 9ed13f718e53 |
rev | line source |
---|---|
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
429
diff
changeset
|
1 #!/bin/sh |
331 | 2 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
3 hg |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
4 hg -q |
596 | 5 hg help |
423
25afb21d97ba
Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
6 hg -q help |
331 | 7 hg add -h |
596 | 8 hg add --skjdfks |
331 | 9 hg help diff |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
10 hg help status |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
11 hg -q help status |
331 | 12 hg help foo |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
13 hg skjdfks |
331 | 14 |
423
25afb21d97ba
Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
15 exit 0 |