1998-12-29 17:18:27 +03:00
|
|
|
#
|
2000-06-06 01:21:24 +04:00
|
|
|
# "$Id: Makefile,v 1.9.2.6 2000/06/05 21:20:35 mike Exp $"
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|
|
|
|
# Documentation makefile for the Fast Light Tool Kit (FLTK).
|
|
|
|
#
|
2000-04-26 02:17:00 +04:00
|
|
|
# Copyright 1998-2000 by Bill Spitzak and others.
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
# USA.
|
|
|
|
#
|
2000-06-06 01:21:24 +04:00
|
|
|
# Please report all bugs and problems to "fltk-bugs@fltk.org".
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|
|
|
|
|
2000-06-06 01:21:24 +04:00
|
|
|
# Get configuration stuff...
|
|
|
|
include ../makeinclude
|
|
|
|
|
|
|
|
# Where to find HTMLDOC (http://www.fltk.org/htmldoc)...
|
1999-01-13 19:25:17 +03:00
|
|
|
HTMLDOC = htmldoc
|
|
|
|
|
|
|
|
# What media size to use:
|
|
|
|
|
|
|
|
# "Universal" size - minimum of US Letter and A4
|
|
|
|
MEDIA = --size universal
|
|
|
|
|
|
|
|
# Standard US Letter
|
|
|
|
#MEDIA = --size letter
|
|
|
|
|
|
|
|
# Standard A4
|
|
|
|
#MEDIA = --size a4
|
|
|
|
|
|
|
|
# 7x8.5in (1/2 legal page) with reduced-size fonts
|
|
|
|
#MEDIA = --size 7x8.5in --fontsize 9.0
|
|
|
|
|
|
|
|
# These are the HTML "source" files; the files are formatted in the
|
|
|
|
# order listed...
|
1998-12-29 17:18:27 +03:00
|
|
|
HTMLFILES = \
|
1999-01-13 19:25:17 +03:00
|
|
|
preface.html \
|
|
|
|
intro.html \
|
|
|
|
basics.html \
|
|
|
|
common.html \
|
|
|
|
editor.html \
|
|
|
|
drawing.html \
|
|
|
|
events.html \
|
|
|
|
subclassing.html \
|
|
|
|
fluid.html \
|
|
|
|
opengl.html \
|
|
|
|
widgets.html \
|
|
|
|
Fl_Adjuster.html \
|
|
|
|
Fl_Box.html \
|
|
|
|
Fl_Browser.html \
|
|
|
|
Fl_Browser_.html \
|
|
|
|
Fl_Button.html \
|
|
|
|
Fl_Chart.html \
|
|
|
|
Fl_Check_Button.html \
|
|
|
|
Fl_Choice.html \
|
|
|
|
Fl_Clock.html \
|
|
|
|
Fl_Color_Chooser.html \
|
|
|
|
Fl_Counter.html \
|
|
|
|
Fl_Dial.html \
|
|
|
|
Fl_Double_Window.html \
|
|
|
|
Fl_End.html \
|
|
|
|
Fl_Float_Input.html \
|
|
|
|
Fl_Free.html \
|
|
|
|
Fl_Gl_Window.html \
|
|
|
|
Fl_Group.html \
|
|
|
|
Fl_Hold_Browser.html \
|
|
|
|
Fl_Input.html \
|
|
|
|
Fl_Input_.html \
|
|
|
|
Fl_Int_Input.html \
|
|
|
|
Fl_Light_Button.html \
|
|
|
|
Fl_Menu_.html \
|
|
|
|
Fl_Menu_Bar.html \
|
|
|
|
Fl_Menu_Button.html \
|
|
|
|
Fl_Menu_Item.html \
|
|
|
|
Fl_Menu_Window.html \
|
|
|
|
Fl_Multi_Browser.html \
|
|
|
|
Fl_Multiline_Input.html \
|
|
|
|
Fl_Multiline_Output.html \
|
|
|
|
Fl_Output.html \
|
|
|
|
Fl_Overlay_Window.html \
|
|
|
|
Fl_Pack.html \
|
|
|
|
Fl_Positioner.html \
|
|
|
|
Fl_Repeat_Button.html \
|
|
|
|
Fl_Return_Button.html \
|
|
|
|
Fl_Roller.html \
|
|
|
|
Fl_Round_Button.html \
|
|
|
|
Fl_Scroll.html \
|
|
|
|
Fl_Scrollbar.html \
|
|
|
|
Fl_Secret_Input.html \
|
|
|
|
Fl_Select_Browser.html \
|
|
|
|
Fl_Single_Window.html \
|
|
|
|
Fl_Slider.html \
|
|
|
|
Fl_Tabs.html \
|
|
|
|
Fl_Tile.html \
|
|
|
|
Fl_Timer.html \
|
|
|
|
Fl_Valuator.html \
|
|
|
|
Fl_Value_Input.html \
|
|
|
|
Fl_Value_Output.html \
|
|
|
|
Fl_Value_Slider.html \
|
|
|
|
Fl_Widget.html \
|
|
|
|
Fl_Window.html \
|
|
|
|
functions.html \
|
|
|
|
enumerations.html \
|
|
|
|
glut.html \
|
|
|
|
forms.html \
|
|
|
|
osissues.html \
|
|
|
|
license.html
|
1998-12-29 17:18:27 +03:00
|
|
|
|
1999-01-15 01:14:01 +03:00
|
|
|
all: fltk.ps fltk.pdf fltk.d/index.html
|
1998-12-29 17:18:27 +03:00
|
|
|
|
|
|
|
clean:
|
1999-01-13 19:25:17 +03:00
|
|
|
rm -rf fltk.d
|
|
|
|
rm -f fltk.ps
|
1998-12-29 17:18:27 +03:00
|
|
|
rm -f fltk.pdf
|
|
|
|
|
1998-12-29 17:59:00 +03:00
|
|
|
depend:
|
|
|
|
|
|
|
|
install:
|
2000-04-26 02:17:00 +04:00
|
|
|
-mkdir -p $(prefix)/share/doc/fltk
|
|
|
|
cp -f $(HTMLFILES) index.html $(prefix)/share/doc/fltk
|
|
|
|
cp -f *.gif *.jpg $(prefix)/share/doc/fltk
|
|
|
|
chmod 644 $(prefix)/share/doc/fltk/*
|
1998-12-29 17:59:00 +03:00
|
|
|
|
1999-01-13 19:25:17 +03:00
|
|
|
fltk.d/index.html: $(HTMLFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
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)
|
1998-12-29 17:18:27 +03:00
|
|
|
|
1999-01-13 19:25:17 +03:00
|
|
|
fltk.ps: $(HTMLFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo "Generating PostScript documentation..."
|
|
|
|
$(HTMLDOC) -f fltk.ps --jpeg --duplex --verbose --toclevels 2 --titleimage FL.gif $(HTMLFILES)
|
1998-12-29 17:18:27 +03:00
|
|
|
|
1998-12-29 17:59:00 +03:00
|
|
|
fltk.pdf: $(HTMLFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo "Generating PDF documentation..."
|
|
|
|
rm -f fltk.pdf
|
|
|
|
$(HTMLDOC) -f fltk.pdf --jpeg --compression=9 --duplex --verbose --toclevels 2 --titleimage FL.gif $(HTMLFILES)
|
1998-12-29 17:18:27 +03:00
|
|
|
|
|
|
|
#
|
2000-06-06 01:21:24 +04:00
|
|
|
# End of "$Id: Makefile,v 1.9.2.6 2000/06/05 21:20:35 mike Exp $".
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|