Mercurial > hg
changeset 9703:8374f26727de
doc/Makefile: add help/*.txt as a dependency
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 02 Nov 2009 21:38:42 +0100 |
parents | a9d15bf7efe2 |
children | 90e968899c72 |
files | doc/Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/Makefile Mon Nov 02 21:32:42 2009 +0100 +++ b/doc/Makefile Mon Nov 02 21:38:42 2009 +0100 @@ -1,6 +1,7 @@ SOURCES=$(wildcard *.[0-9].txt) MAN=$(SOURCES:%.txt=%) HTML=$(SOURCES:%.txt=%.html) +GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py ../help/*.txt PREFIX=/usr/local MANDIR=$(PREFIX)/share/man INSTALL=install -c -m 644 @@ -16,7 +17,7 @@ hg.1.txt: hg.1.gendoc.txt touch hg.1.txt -hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py +hg.1.gendoc.txt: $(GENDOC) ${PYTHON} gendoc.py > $@.tmp mv $@.tmp $@