summaryrefslogtreecommitdiffstats
path: root/Doc/html/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-08-11 19:36:35 (GMT)
committerFred Drake <fdrake@acm.org>1998-08-11 19:36:35 (GMT)
commitf832f4cd3463e0b23c6330c6ef7ee20de725fe07 (patch)
treec8534e17cf1d1d87dbbb7c1277e85fdcf5a26e20 /Doc/html/Makefile
parent15c417eb775f2f5371c4e4364e5ce3180301ecd8 (diff)
downloadcpython-f832f4cd3463e0b23c6330c6ef7ee20de725fe07.zip
cpython-f832f4cd3463e0b23c6330c6ef7ee20de725fe07.tar.gz
cpython-f832f4cd3463e0b23c6330c6ef7ee20de725fe07.tar.bz2
Clean things up just a bit.
Diffstat (limited to 'Doc/html/Makefile')
-rw-r--r--Doc/html/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/Doc/html/Makefile b/Doc/html/Makefile
index 39b4938..9b71222 100644
--- a/Doc/html/Makefile
+++ b/Doc/html/Makefile
@@ -5,30 +5,37 @@
# Note that the .dvi files must already be built and TEXINPUTS must include the
# directory where latex's working files (esp. *.aux) are kept.
-TEXINPUTS=..:../texinputs
+TOPDIR=..
+
+TEXINPUTS=$(TOPDIR):$(TOPDIR)/texinputs:
+
+
+SUBMAKE=$(MAKE) srcdir=$(TOPDIR) VPATH=$(TOPDIR) TEXINPUTS=$(TEXINPUTS) \
+ -f ../Makefile
+
all: icons l2h
l2h: l2hapi l2hext l2hlib l2hmac l2href l2htut
l2hapi: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2hapi
+ $(SUBMAKE) l2hapi
l2hext: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2hext
+ $(SUBMAKE) l2hext
l2hlib: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2hlib
+ $(SUBMAKE) l2hlib
l2hmac: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2hmac
+ $(SUBMAKE) l2hmac
l2href: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2href
+ $(SUBMAKE) l2href
l2htut: icons
- $(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) -f ../Makefile l2htut
+ $(SUBMAKE) l2htut
icons:
mkdir icons
- cp ../icons/*.gif icons/
+ cp $(TOPDIR)/icons/*.gif icons/