[Python-checkins] python/dist/src/Doc Makefile,1.265,1.266
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Sat Sep 27 01:52:19 EDT 2003
Update of /cvsroot/python/python/dist/src/Doc
In directory sc8-pr-cvs1:/tmp/cvs-serv31209
Modified Files:
Makefile
Log Message:
Fix the most recent change to the invocation of the mkhowto script so
that it works for all targets.
The issue here is that there are two different levels in the directory
tree at which we execute mkhowto, so we can't define it just once
using a relative path (at least not with the current implementation
and Makefile structure). We use the GNUish $(shell) function here to
work around that restriction by identifying mkhowto using an absolute
path.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/Makefile,v
retrieving revision 1.265
retrieving revision 1.266
diff -C2 -d -r1.265 -r1.266
*** Makefile 25 Sep 2003 15:25:37 -0000 1.265
--- Makefile 27 Sep 2003 05:52:16 -0000 1.266
***************
*** 72,76 ****
DVIPS= dvips -N0 -t $(PAPER)
! MKHOWTO= $(PYTHON) ../tools/mkhowto
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
--- 72,83 ----
DVIPS= dvips -N0 -t $(PAPER)
! # This is ugly! The issue here is that there are two different levels
! # in the directory tree at which we execute mkhowto, so we can't
! # define it just once using a relative path (at least not with the
! # current implementation and Makefile structure). We use the GNUish
! # $(shell) function here to work around that restriction by
! # identifying mkhowto using an absolute path.
! #
! MKHOWTO= $(PYTHON) $(shell pwd)/tools/mkhowto
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
More information about the Python-checkins
mailing list