Updated makefiles for documentation.

git-svn-id: file:///fltk/svn/fltk/trunk@179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1998-12-29 14:59:00 +00:00
parent d7e327acb6
commit ea2cbbd553
3 changed files with 32 additions and 14 deletions

View File

@ -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 $".
#

View File

@ -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 $".
#

View File

@ -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 $".
#