]> granicus.if.org Git - python/commitdiff
Clean things up just a bit.
authorFred Drake <fdrake@acm.org>
Tue, 11 Aug 1998 19:36:35 +0000 (19:36 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 11 Aug 1998 19:36:35 +0000 (19:36 +0000)
Doc/html/Makefile

index 39b4938118da46fac0fb19209016b6dee3bd3016..9b71222ccbd29a8adfc4f3f34fa903c880af42ac 100644 (file)
@@ -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/