Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df49324

Browse files
committed
define a variable to specify the mkhowto program itself, as for any
other application
1 parent b2bdb3e commit df49324

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

Doc/Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,21 @@ RELEASE=2.4a0
7171
PYTHON= python
7272
DVIPS= dvips -N0 -t $(PAPER)
7373

74-
MKDVI= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --dvi
75-
MKHTML= $(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
74+
MKHOWTO= $(PYTHON) ../tools/mkhowto
75+
76+
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
77+
MKHTML= $(MKHOWTO) --html --about html/stdabout.dat \
7678
--iconserver ../icons --favicon ../icons/pyfav.gif \
7779
--address $(PYTHONDOCS) --up-link ../index.html \
7880
--up-title "Python Documentation Index" \
7981
--global-module-index "../modindex.html" --dvips-safe
80-
MKISILOHTML=$(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
82+
MKISILOHTML=$(MKHOWTO) --html --about html/stdabout.dat \
8183
--iconserver ../icons \
8284
--l2h-init perl/isilo.perl --numeric --split 1 \
8385
--dvips-safe
8486
MKISILO= iSilo386 -U -y -rCR -d0
85-
MKPDF= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --pdf
86-
MKPS= $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --ps
87+
MKPDF= $(MKHOWTO) --paper=$(PAPER) --pdf
88+
MKPS= $(MKHOWTO) --paper=$(PAPER) --ps
8789

8890
BUILDINDEX=$(TOOLSDIR)/buildindex.py
8991

0 commit comments

Comments
 (0)