##// END OF EJS Templates
doc/Makefile: add help/*.txt as a dependency
Martin Geisler -
r9703:8374f267 default
parent child Browse files
Show More
@@ -1,6 +1,7 b''
1 SOURCES=$(wildcard *.[0-9].txt)
1 SOURCES=$(wildcard *.[0-9].txt)
2 MAN=$(SOURCES:%.txt=%)
2 MAN=$(SOURCES:%.txt=%)
3 HTML=$(SOURCES:%.txt=%.html)
3 HTML=$(SOURCES:%.txt=%.html)
4 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py ../help/*.txt
4 PREFIX=/usr/local
5 PREFIX=/usr/local
5 MANDIR=$(PREFIX)/share/man
6 MANDIR=$(PREFIX)/share/man
6 INSTALL=install -c -m 644
7 INSTALL=install -c -m 644
@@ -16,7 +17,7 b' html: $(HTML)'
16 hg.1.txt: hg.1.gendoc.txt
17 hg.1.txt: hg.1.gendoc.txt
17 touch hg.1.txt
18 touch hg.1.txt
18
19
19 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
20 hg.1.gendoc.txt: $(GENDOC)
20 ${PYTHON} gendoc.py > $@.tmp
21 ${PYTHON} gendoc.py > $@.tmp
21 mv $@.tmp $@
22 mv $@.tmp $@
22
23
General Comments 0
You need to be logged in to leave comments. Login now