blob: 9b71222ccbd29a8adfc4f3f34fa903c880af42ac [file] [log] [blame]
Fred Drake60515f41998-05-07 14:50:22 +00001# Convenience Makefile for building HTML documentation. You probably need to
2# set TEXINPUTS from the command line for this to be useful, unless you
3# actually build the .dvi files in the top level directory.
4#
5# Note that the .dvi files must already be built and TEXINPUTS must include the
6# directory where latex's working files (esp. *.aux) are kept.
7
Fred Drakef832f4c1998-08-11 19:36:35 +00008TOPDIR=..
9
10TEXINPUTS=$(TOPDIR):$(TOPDIR)/texinputs:
11
12
13SUBMAKE=$(MAKE) srcdir=$(TOPDIR) VPATH=$(TOPDIR) TEXINPUTS=$(TEXINPUTS) \
14 -f ../Makefile
15
Fred Drake60515f41998-05-07 14:50:22 +000016
17all: icons l2h
18
Fred Drakecdbd3911998-05-15 17:02:10 +000019l2h: l2hapi l2hext l2hlib l2hmac l2href l2htut
Fred Drake60515f41998-05-07 14:50:22 +000020
Fred Drake4d464871998-08-11 13:18:52 +000021l2hapi: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000022 $(SUBMAKE) l2hapi
Fred Drake60515f41998-05-07 14:50:22 +000023
Fred Drake4d464871998-08-11 13:18:52 +000024l2hext: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000025 $(SUBMAKE) l2hext
Fred Drake60515f41998-05-07 14:50:22 +000026
Fred Drake4d464871998-08-11 13:18:52 +000027l2hlib: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000028 $(SUBMAKE) l2hlib
Fred Drake60515f41998-05-07 14:50:22 +000029
Fred Drake4d464871998-08-11 13:18:52 +000030l2hmac: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000031 $(SUBMAKE) l2hmac
Fred Drakecdbd3911998-05-15 17:02:10 +000032
Fred Drake4d464871998-08-11 13:18:52 +000033l2href: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000034 $(SUBMAKE) l2href
Fred Drake60515f41998-05-07 14:50:22 +000035
Fred Drake4d464871998-08-11 13:18:52 +000036l2htut: icons
Fred Drakef832f4c1998-08-11 19:36:35 +000037 $(SUBMAKE) l2htut
Fred Drake60515f41998-05-07 14:50:22 +000038
Fred Drake60515f41998-05-07 14:50:22 +000039icons:
40 mkdir icons
Fred Drakef832f4c1998-08-11 19:36:35 +000041 cp $(TOPDIR)/icons/*.gif icons/