@@ -71,21 +71,26 @@ RELEASE=2.4a0
7171PYTHON = python
7272DVIPS = dvips -N0 -t $(PAPER )
7373
74- PWD =$(shell pwd)
75-
76- # (The trailing colon in the value is needed; TeX places it's default
77- # set of paths at the location of the empty string in the path list.)
78- #
79- TEXINPUTS =$(PWD ) /commontex:
80-
8174# This is ugly! The issue here is that there are two different levels
8275# in the directory tree at which we execute mkhowto, so we can't
8376# define it just once using a relative path (at least not with the
8477# current implementation and Makefile structure). We use the GNUish
8578# $(shell) function here to work around that restriction by
86- # identifying mkhowto using an absolute path .
79+ # identifying mkhowto and the commontex/ directory using absolute paths .
8780#
88- MKHOWTO = TEXINPUTS=$(TEXINPUTS ) $(PYTHON ) $(PWD ) /tools/mkhowto
81+ PWD =$(shell pwd)
82+
83+ # (The trailing colon in the value is needed; TeX places it's default
84+ # set of paths at the location of the empty string in the path list.)
85+ TEXINPUTS =$(PWD ) /commontex:
86+
87+ # The mkhowto script can be run from the checkout using the first
88+ # version of this variable definition, or from a preferred version
89+ # using the second version. The standard documentation is typically
90+ # built using the second flavor, where the preferred version is from
91+ # the Python CVS trunk.
92+ # MKHOWTO= TEXINPUTS=$(TEXINPUTS) $(PYTHON) $(PWD)/tools/mkhowto
93+ MKHOWTO = TEXINPUTS=$(TEXINPUTS ) mkhowto
8994
9095MKDVI = $(MKHOWTO ) --paper=$(PAPER ) --dvi
9196MKHTML = $(MKHOWTO ) --html --about html/stdabout.dat \
0 commit comments