diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-02-12 15:12:14 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-02-12 15:12:14 +0000 |
| commit | 86b5507486164da7cd7a71c6a688666ee3fb5d83 (patch) | |
| tree | 730d6799520894c2cdaa2ac12d14f7a8cd8e8c53 /documentation | |
| parent | 7eae5f4f873fc3911bf8ee3556391e89b1ec597e (diff) | |
Configure script changes to support man pages, HTMLDOC, AIX/QNX with
strings.h, etc.
Add check for strings.h in fluid/factory.cxx.
Add directories and man page rules to makeinclude.in
Rename man page sources; these are formatted to the correct extensions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Makefile | 61 | ||||
| -rw-r--r-- | documentation/README | 2 | ||||
| -rw-r--r-- | documentation/fltk.man (renamed from documentation/fltk.3) | 0 | ||||
| -rw-r--r-- | documentation/fluid.man (renamed from documentation/fluid.1) | 0 |
4 files changed, 33 insertions, 30 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index fc37b9c07..168076b06 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.9.2.9 2001/01/28 06:57:32 spitzak Exp $" +# "$Id: Makefile,v 1.9.2.10 2001/02/12 15:12:14 easysw Exp $" # # Documentation makefile for the Fast Light Tool Kit (FLTK). # @@ -26,9 +26,6 @@ # Get configuration stuff... include ../makeinclude -# Where to find HTMLDOC (http://www.fltk.org/htmldoc)... -HTMLDOC = htmldoc - # What media size to use: # "Universal" size - minimum of US Letter and A4 @@ -118,7 +115,9 @@ HTMLFILES = \ osissues.html \ license.html -all: fltk.ps fltk.pdf +MANPAGES = fltk.$(CAT3EXT) fluid.$(CAT1EXT) + +all: fltk.ps fltk.pdf $(MANPAGES) clean: rm -f fltk.ps @@ -127,31 +126,35 @@ clean: depend: # According to FHS this should be: -# htmldir = $(prefix)/share/doc/html/en/fltk +# htmldir = $(datadir)/doc/html/en/fltk # Possibly the "en/" can be removed, it is not clear. # KDE uses "HTML" instead of "html", which is correct? -htmldir = $(prefix)/share/doc/fltk - -# According to FHS this should be: -# mandir = $(prefix)/share/man/en/man -# they say the "en/" is optional -mandir = $(prefix)/man/man - -install: - -mkdir -p $(htmldir) - cp $(HTMLFILES) *.gif *.jpg index.html $(htmldir) - chmod 644 $(htmldir)/* - -mkdir -p $(mandir)1 - cp *.1 $(mandir)1 - -mkdir -p $(mandir)3 - cp *.3 $(mandir)3 - -# Base html files are now the readable ones, this is not done: -#fltk.d/index.html: $(HTMLFILES) -# echo "Generating HTML documentation..." -# -mkdir fltk.d -# -rm -f fltk.d/* -# $(HTMLDOC) -d fltk.d -t html --verbose --toclevels 2 --bodycolor white --titleimage FL.gif $(HTMLFILES) +docdir = $(datadir)/doc/fltk + +install: $(MANPAGES) + -mkdir -p $(docdir) + cp $(HTMLFILES) *.gif *.jpg index.html $(docdir) + chmod 644 $(docdir)/* + -mkdir -p $(mandir)/cat1 + cp fluid.$(CAT1EXT) $(mandir)/cat1 + chmod 644 $(mandir)/cat1/fluid.$(CAT1EXT) + -mkdir -p $(mandir)/cat3 + cp fltk.$(CAT3EXT) $(mandir)/cat3 + chmod 644 $(mandir)/cat3/fltk.$(CAT3EXT) + -mkdir -p $(mandir)/man1 + cp fluid.man $(mandir)/man1/fluid.1 + chmod 644 $(mandir)/man1/fluid.1 + -mkdir -p $(mandir)/man3 + cp fltk.man $(mandir)/man3/fltk.3 + chmod 644 $(mandir)/man3/fltk.3 + +# Base html files are now the readable ones, so this target is not make by +# default... +fltk.d/index.html: $(HTMLFILES) + echo "Generating HTML documentation..." + -mkdir fltk.d + -rm -f fltk.d/* + $(HTMLDOC) -d fltk.d -t html --verbose --toclevels 2 --bodycolor white --titleimage FL.gif $(HTMLFILES) fltk.ps: $(HTMLFILES) echo "Generating PostScript documentation..." @@ -163,5 +166,5 @@ fltk.pdf: $(HTMLFILES) $(HTMLDOC) -f fltk.pdf --jpeg --compression=9 --duplex --verbose --toclevels 2 --titleimage FL.gif $(HTMLFILES) # -# End of "$Id: Makefile,v 1.9.2.9 2001/01/28 06:57:32 spitzak Exp $". +# End of "$Id: Makefile,v 1.9.2.10 2001/02/12 15:12:14 easysw Exp $". # diff --git a/documentation/README b/documentation/README index 45904085f..f3ae94a70 100644 --- a/documentation/README +++ b/documentation/README @@ -10,7 +10,7 @@ You can generate your own (printable) copy of the manual by typing "make" in this directory. You will need to have the HTMLDOC software installed on your system. HTMLDOC can be downloaded from: - http://www.easysw.com/~mike/htmldoc + http://www.easysw.com/htmldoc The default media size is 8.27x11.0" (210x279mm), which is the lesser of A4 and US Letter sizes. You can change this in the makefile by diff --git a/documentation/fltk.3 b/documentation/fltk.man index 14995e78f..14995e78f 100644 --- a/documentation/fltk.3 +++ b/documentation/fltk.man diff --git a/documentation/fluid.1 b/documentation/fluid.man index 0b69440e9..0b69440e9 100644 --- a/documentation/fluid.1 +++ b/documentation/fluid.man |
