From 86b5507486164da7cd7a71c6a688666ee3fb5d83 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 12 Feb 2001 15:12:14 +0000 Subject: 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 --- documentation/Makefile | 61 ++++++++++++++++++++++++++----------------------- documentation/README | 2 +- documentation/fltk.3 | 22 ------------------ documentation/fltk.man | 22 ++++++++++++++++++ documentation/fluid.1 | 27 ---------------------- documentation/fluid.man | 27 ++++++++++++++++++++++ 6 files changed, 82 insertions(+), 79 deletions(-) delete mode 100644 documentation/fltk.3 create mode 100644 documentation/fltk.man delete mode 100644 documentation/fluid.1 create mode 100644 documentation/fluid.man (limited to 'documentation') 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.3 deleted file mode 100644 index 14995e78f..000000000 --- a/documentation/fltk.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH fltk 1 "Fast Light Tool Kit" "27 January 2001" -.SH NAME -fltk \- the fast light Tool Kit -.sp -.SH SYNOPSIS - -The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd -C++ graphical user interface toolkit for X (UNIX(R)), OpenGL(R), and -Microsoft(R) Windows(R) NT 4.0, 95, or 98. It was originally developed -by Mr. Bill Spitzak and is currently maintained by a small group of -developers across the world with a central repository in the US. - -.SH SEE ALSO -.nf -FLTK Programming Manual -file:/usr/local/share/doc/fltk/index.html -.PP -http://www.fltk.org -.PP -.BR fluid (1) -.SH AUTHOR -Bill Spitzak and others. diff --git a/documentation/fltk.man b/documentation/fltk.man new file mode 100644 index 000000000..14995e78f --- /dev/null +++ b/documentation/fltk.man @@ -0,0 +1,22 @@ +.TH fltk 1 "Fast Light Tool Kit" "27 January 2001" +.SH NAME +fltk \- the fast light Tool Kit +.sp +.SH SYNOPSIS + +The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd +C++ graphical user interface toolkit for X (UNIX(R)), OpenGL(R), and +Microsoft(R) Windows(R) NT 4.0, 95, or 98. It was originally developed +by Mr. Bill Spitzak and is currently maintained by a small group of +developers across the world with a central repository in the US. + +.SH SEE ALSO +.nf +FLTK Programming Manual +file:/usr/local/share/doc/fltk/index.html +.PP +http://www.fltk.org +.PP +.BR fluid (1) +.SH AUTHOR +Bill Spitzak and others. diff --git a/documentation/fluid.1 b/documentation/fluid.1 deleted file mode 100644 index 0b69440e9..000000000 --- a/documentation/fluid.1 +++ /dev/null @@ -1,27 +0,0 @@ -.TH fluid 1 "Fast Light Tool Kit" "27 January 2001" -.SH NAME -fluid \- the fast light user-interface designer -.sp -.SH SYNOPSIS -.nf -fluid \fI[-c [-o code-filename -h header-filename]] [filename.fl]\fR -.fi -.SH DESCRIPTION -\fIfluid\fR is an interactive GUI designer for FLTK. When run with no arguments -or with a filename, \fIfluid\fR will display the GUI hierarchy and any windows -defined in the file. Functions, classes, windows, and GUI components can be -manipulated as needed. -.LP -When used with the \fI-c\fR option, \fIfluid\fR will create the necessary C++ -header and code files in the current directory. You can override the default -extensions, filenames, and directories using the \fI-o\fR and \fI-h\fR options. -.SH SEE ALSO -.nf -FLTK Programming Manual, chapter 8. -file:/usr/local/share/doc/fltk/fluid.html -.PP -http://www.fltk.org -.PP -.BR fltk (3) -.SH AUTHOR -Bill Spitzak and others. diff --git a/documentation/fluid.man b/documentation/fluid.man new file mode 100644 index 000000000..0b69440e9 --- /dev/null +++ b/documentation/fluid.man @@ -0,0 +1,27 @@ +.TH fluid 1 "Fast Light Tool Kit" "27 January 2001" +.SH NAME +fluid \- the fast light user-interface designer +.sp +.SH SYNOPSIS +.nf +fluid \fI[-c [-o code-filename -h header-filename]] [filename.fl]\fR +.fi +.SH DESCRIPTION +\fIfluid\fR is an interactive GUI designer for FLTK. When run with no arguments +or with a filename, \fIfluid\fR will display the GUI hierarchy and any windows +defined in the file. Functions, classes, windows, and GUI components can be +manipulated as needed. +.LP +When used with the \fI-c\fR option, \fIfluid\fR will create the necessary C++ +header and code files in the current directory. You can override the default +extensions, filenames, and directories using the \fI-o\fR and \fI-h\fR options. +.SH SEE ALSO +.nf +FLTK Programming Manual, chapter 8. +file:/usr/local/share/doc/fltk/fluid.html +.PP +http://www.fltk.org +.PP +.BR fltk (3) +.SH AUTHOR +Bill Spitzak and others. -- cgit v1.2.3