diff --git a/Makefile b/Makefile index ce9355675..f744b2236 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.8 1998/12/18 13:53:26 mike Exp $" +# "$Id: Makefile,v 1.9 1998/12/29 14:58:58 mike Exp $" # # Top-level makefile for the Fast Light Tool Kit (FLTK). # @@ -25,7 +25,7 @@ SHELL=/bin/sh -DIRS = src fluid test +DIRS = src fluid test documentation all: makeinclude @for dir in $(DIRS); do\ @@ -71,5 +71,5 @@ makeinclude: configure configh.in makeinclude.in ./configure # -# End of "$Id: Makefile,v 1.8 1998/12/18 13:53:26 mike Exp $". +# End of "$Id: Makefile,v 1.9 1998/12/29 14:58:58 mike Exp $". # diff --git a/documentation/Makefile b/documentation/Makefile index 2efcee089..89ae65ac1 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.1 1998/12/29 14:18:27 mike Exp $" +# "$Id: Makefile,v 1.2 1998/12/29 14:58:59 mike Exp $" # # Documentation makefile for the Fast Light Tool Kit (FLTK). # @@ -98,19 +98,29 @@ all: index.html fltk.ps.gz fltk.pdf clean: rm -f index.html toc.html doc*.html *.gif *.jpg - rm -f fltk.ps.gz + rm -f fltk.ps fltk.ps.gz rm -f fltk.pdf +depend: + +install: + index.html: $(HTMLFILES) - htmldoc -d . -t html --toclevels 2 --title src/FL.gif $(HTMLFILES) + @echo "Generating HTML documentation..." + @rm -f index.html toc.html doc*.html *.gif *.jpg + @htmldoc -d . -t html --toclevels 2 --title src/FL.gif $(HTMLFILES) -fltk.ps.gz: fltk.ps - rm -f fltk.ps.gz - gzip -v9 fltk.ps +fltk.ps.gz: $(HTMLFILES) + @echo "Generating PostScript documentation..." + @rm -f fltk.ps fltk.ps.gz + @htmldoc -f fltk.ps --no-compression --jpeg=90 --duplex --verbose --toclevels 2 --title src/FL.gif $(HTMLFILES) + @gzip -9 fltk.ps -fltk.ps fltk.pdf: $(HTMLFILES) - htmldoc -f $@ --no-compression --jpeg=90 --duplex --verbose --toclevels 2 --title src/FL.gif $(HTMLFILES) +fltk.pdf: $(HTMLFILES) + @echo "Generating PDF documentation..." + @rm -f fltk.pdf + @htmldoc -f fltk.pdf --no-compression --jpeg=90 --duplex --verbose --toclevels 2 --title src/FL.gif $(HTMLFILES) # -# End of "$Id: Makefile,v 1.1 1998/12/29 14:18:27 mike Exp $". +# End of "$Id: Makefile,v 1.2 1998/12/29 14:58:59 mike Exp $". # diff --git a/makefiles/Makefile.os2x b/makefiles/Makefile.os2x index a559f07be..cf83e8ef3 100644 --- a/makefiles/Makefile.os2x +++ b/makefiles/Makefile.os2x @@ -1,5 +1,5 @@ # -# "$Id: Makefile.os2x,v 1.2 1998/12/02 17:22:54 mike Exp $" +# "$Id: Makefile.os2x,v 1.3 1998/12/29 14:59:00 mike Exp $" # # Top-level makefile for the Fast Light Tool Kit (FLTK). # @@ -35,6 +35,8 @@ all: echo "=== making test ===" touch test/makedepend cd test & $(MAKE) + echo "=== making documentation ===" + cd documentation & $(MAKE) install: echo "=== installing src ===" @@ -43,6 +45,8 @@ install: echo "=== installing fluid ===" touch fluid/makedepend cd fluid & $(MAKE) install + echo "=== installing documentation ===" + cd documentation & $(MAKE) install depend: echo "=== making src dependencies ===" @@ -54,6 +58,8 @@ depend: echo "=== making test dependencies ===" touch test/makedepend cd test & $(MAKE) depend + echo "=== making documentation dependencies ===" + cd documentation & $(MAKE) depend clean: -@ rm -f core config.cache *.o *.bck @@ -66,7 +72,9 @@ clean: echo "=== cleaning test ===" touch test/makedepend cd test & $(MAKE) clean + echo "=== cleaning documentation ===" + cd documentation & $(MAKE) clean # -# End of "$Id: Makefile.os2x,v 1.2 1998/12/02 17:22:54 mike Exp $". +# End of "$Id: Makefile.os2x,v 1.3 1998/12/29 14:59:00 mike Exp $". #