1998-12-29 17:18:27 +03:00
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# "$Id$"
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|
|
|
|
# Documentation makefile for the Fast Light Tool Kit (FLTK).
|
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# Copyright 1998-2005 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.
|
|
|
|
#
|
2005-04-16 04:13:17 +04:00
|
|
|
# Please report all bugs and problems on the following page:
|
|
|
|
#
|
|
|
|
# http://www.fltk.org/str.php
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|
|
|
|
|
2000-06-06 01:21:24 +04:00
|
|
|
# Get configuration stuff...
|
|
|
|
include ../makeinclude
|
|
|
|
|
1999-01-13 19:25:17 +03:00
|
|
|
# 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
|
|
|
|
|
2001-11-27 05:09:45 +03:00
|
|
|
# These are the HTML "source" files...
|
1998-12-29 17:18:27 +03:00
|
|
|
HTMLFILES = \
|
2002-04-28 20:41:17 +04:00
|
|
|
preface.html \
|
|
|
|
intro.html \
|
|
|
|
basics.html \
|
|
|
|
common.html \
|
|
|
|
editor.html \
|
|
|
|
drawing.html \
|
|
|
|
events.html \
|
|
|
|
subclassing.html \
|
|
|
|
opengl.html \
|
|
|
|
fluid.html \
|
|
|
|
widgets.html \
|
|
|
|
Fl.html \
|
|
|
|
Fl_Adjuster.html \
|
|
|
|
Fl_Bitmap.html \
|
|
|
|
Fl_BMP_Image.html \
|
|
|
|
Fl_Box.html \
|
|
|
|
Fl_Browser_.html \
|
|
|
|
Fl_Browser.html \
|
|
|
|
Fl_Button.html \
|
|
|
|
Fl_Chart.html \
|
2002-10-07 17:51:10 +04:00
|
|
|
Fl_Check_Browser.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Check_Button.html \
|
|
|
|
Fl_Choice.html \
|
|
|
|
Fl_Clock.html \
|
2006-06-27 15:55:20 +04:00
|
|
|
Fl_Clock_Output.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Color_Chooser.html \
|
|
|
|
Fl_Counter.html \
|
|
|
|
Fl_Dial.html \
|
|
|
|
Fl_Double_Window.html \
|
|
|
|
Fl_End.html \
|
|
|
|
Fl_File_Browser.html \
|
|
|
|
Fl_File_Chooser.html \
|
|
|
|
Fl_File_Icon.html \
|
2002-05-01 04:55:45 +04:00
|
|
|
Fl_File_Input.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Float_Input.html \
|
|
|
|
Fl_Free.html \
|
|
|
|
Fl_GIF_Image.html \
|
|
|
|
Fl_Gl_Window.html \
|
|
|
|
Fl_Group.html \
|
|
|
|
Fl_Help_Dialog.html \
|
|
|
|
Fl_Help_View.html \
|
|
|
|
Fl_Hold_Browser.html \
|
|
|
|
Fl_Image.html \
|
|
|
|
Fl_Input.html \
|
|
|
|
Fl_Input_.html \
|
2005-03-05 18:09:59 +03:00
|
|
|
Fl_Input_Choice.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Int_Input.html \
|
|
|
|
Fl_JPEG_Image.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_Pixmap.html \
|
|
|
|
Fl_PNG_Image.html \
|
|
|
|
Fl_PNM_Image.html \
|
|
|
|
Fl_Positioner.html \
|
2002-05-01 04:55:45 +04:00
|
|
|
Fl_Preferences.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Progress.html \
|
|
|
|
Fl_Repeat_Button.html \
|
|
|
|
Fl_RGB_Image.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 \
|
2002-05-19 21:44:56 +04:00
|
|
|
Fl_Shared_Image.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Single_Window.html \
|
|
|
|
Fl_Slider.html \
|
2005-03-25 05:39:25 +03:00
|
|
|
Fl_Spinner.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Tabs.html \
|
|
|
|
Fl_Text_Buffer.html \
|
|
|
|
Fl_Text_Display.html \
|
|
|
|
Fl_Text_Editor.html \
|
|
|
|
Fl_Tile.html \
|
|
|
|
Fl_Tiled_Image.html \
|
|
|
|
Fl_Timer.html \
|
2006-06-27 15:55:20 +04:00
|
|
|
Fl_Toggle_Button.html \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Tooltip.html \
|
|
|
|
Fl_Valuator.html \
|
|
|
|
Fl_Value_Input.html \
|
|
|
|
Fl_Value_Output.html \
|
|
|
|
Fl_Value_Slider.html \
|
|
|
|
Fl_Widget.html \
|
|
|
|
Fl_Window.html \
|
|
|
|
Fl_Wizard.html \
|
|
|
|
Fl_XBM_Image.html \
|
|
|
|
Fl_XPM_Image.html \
|
|
|
|
functions.html \
|
|
|
|
enumerations.html \
|
|
|
|
glut.html \
|
|
|
|
forms.html \
|
|
|
|
osissues.html \
|
|
|
|
migration.html \
|
|
|
|
license.html
|
|
|
|
|
|
|
|
IMAGEFILES = \
|
|
|
|
adjuster1.gif \
|
|
|
|
boxtypes.gif \
|
|
|
|
buttons.gif \
|
|
|
|
charts.gif \
|
|
|
|
choice.gif \
|
|
|
|
clock.gif \
|
|
|
|
counter.gif \
|
|
|
|
cubeview.gif \
|
|
|
|
dial.gif \
|
|
|
|
editor.gif \
|
|
|
|
editor-replace.gif \
|
|
|
|
fl_alert.gif \
|
|
|
|
fl_ask.gif \
|
|
|
|
Fl_Check_Button.gif \
|
|
|
|
fl_choice.gif \
|
|
|
|
fl_color_chooser.jpg \
|
2002-06-07 21:21:43 +04:00
|
|
|
Fl_File_Chooser.jpg \
|
2002-05-01 04:55:45 +04:00
|
|
|
Fl_File_Input.gif \
|
2005-04-16 04:01:49 +04:00
|
|
|
FL.gif \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Help_Dialog.gif \
|
|
|
|
fl_input.gif \
|
|
|
|
Fl_Light_Button.gif \
|
|
|
|
fl_message.gif \
|
|
|
|
fl_password.gif \
|
|
|
|
Fl_Return_Button.gif \
|
|
|
|
Fl_Roller.gif \
|
|
|
|
Fl_Round_Button.gif \
|
|
|
|
Fl_Scroll.gif \
|
|
|
|
fl_show_colormap.gif \
|
|
|
|
Fl_Tile.gif \
|
|
|
|
fluid1.gif \
|
|
|
|
fluid2.gif \
|
|
|
|
fluid3-cxx.gif \
|
|
|
|
fluid3-gui.gif \
|
|
|
|
fluid3-style.gif \
|
|
|
|
fluid4.gif \
|
|
|
|
fluid-catgets.gif \
|
|
|
|
fluid-gettext.gif \
|
|
|
|
fluid-org.gif \
|
|
|
|
fluid_prefs.gif \
|
|
|
|
fluid_widget_cxx.gif \
|
|
|
|
fluid_widget_gui.gif \
|
|
|
|
fluid_widget_style.gif \
|
|
|
|
Fl_Value_Input.gif \
|
|
|
|
Fl_Value_Output.gif \
|
|
|
|
hello.C.gif \
|
2005-04-16 04:01:49 +04:00
|
|
|
input_choice.jpg \
|
2002-04-28 20:41:17 +04:00
|
|
|
menubar.gif \
|
|
|
|
menu_button.gif \
|
|
|
|
menu.gif \
|
|
|
|
positioner.gif \
|
|
|
|
resizebox1.gif \
|
|
|
|
resizebox2.gif \
|
|
|
|
round_clock.gif \
|
|
|
|
scrollbar.gif \
|
|
|
|
slider.gif \
|
|
|
|
symbols.gif \
|
|
|
|
tabs.gif \
|
|
|
|
text.gif \
|
|
|
|
valuators.gif \
|
|
|
|
value_slider.gif
|
1998-12-29 17:18:27 +03:00
|
|
|
|
2005-04-16 04:01:49 +04:00
|
|
|
|
2006-01-15 21:36:16 +03:00
|
|
|
MANPAGES = fltk.$(CAT3EXT) fltk-config.$(CAT1EXT) fluid.$(CAT1EXT) \
|
2006-08-25 10:58:33 +04:00
|
|
|
blocks.$(CAT6EXT) checkers.$(CAT6EXT) sudoku.$(CAT6EXT)
|
2001-02-12 18:12:14 +03:00
|
|
|
|
2002-01-07 21:05:32 +03:00
|
|
|
all: $(MANPAGES)
|
1998-12-29 17:18:27 +03:00
|
|
|
|
2001-10-24 21:04:30 +04:00
|
|
|
alldocs: fltk.ps fltk.pdf fltk.d/index.html $(MANPAGES)
|
|
|
|
|
1998-12-29 17:18:27 +03:00
|
|
|
clean:
|
2002-07-14 21:03:31 +04:00
|
|
|
$(RM) fltk.ps
|
|
|
|
$(RM) fltk.pdf
|
|
|
|
$(RMDIR) fltk.d
|
2005-04-16 04:01:49 +04:00
|
|
|
$(RM) *~ *.bck *.bck
|
1998-12-29 17:18:27 +03:00
|
|
|
|
1998-12-29 17:59:00 +03:00
|
|
|
depend:
|
|
|
|
|
2001-02-12 18:12:14 +03:00
|
|
|
install: $(MANPAGES)
|
2004-10-19 00:22:25 +04:00
|
|
|
echo "Installing documentation files in $(DESTDIR)$(docdir)..."
|
|
|
|
-$(MKDIR) $(DESTDIR)$(docdir)
|
2005-04-16 04:01:49 +04:00
|
|
|
$(CP) $(HTMLFILES) $(IMAGEFILES) index.html $(DESTDIR)$(docdir)
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(docdir)/*.*
|
2004-10-19 00:22:25 +04:00
|
|
|
echo "Installing man pages in $(DESTDIR)$(mandir)..."
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/cat1
|
|
|
|
$(CP) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)
|
|
|
|
$(CP) fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/cat3
|
|
|
|
$(CP) fltk.$(CAT3EXT) $(DESTDIR)$(mandir)/cat3
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/man1
|
|
|
|
$(CP) fluid.man $(DESTDIR)$(mandir)/man1/fluid.1
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fluid.1
|
|
|
|
$(CP) fltk-config.man $(DESTDIR)$(mandir)/man1/fltk-config.1
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fltk-config.1
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/man3
|
|
|
|
$(CP) fltk.man $(DESTDIR)$(mandir)/man3/fltk.3
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man3/fltk.3
|
2001-02-12 18:12:14 +03:00
|
|
|
|
2006-01-15 21:36:16 +03:00
|
|
|
install-linux install-osx:
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/cat6
|
2006-08-25 10:58:33 +04:00
|
|
|
$(CP) blocks.$(CAT6EXT) $(DESTDIR)$(mandir)/cat6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat6/blocks.$(CAT6EXT)
|
2006-01-15 21:36:16 +03:00
|
|
|
$(CP) checkers.$(CAT6EXT) $(DESTDIR)$(mandir)/cat6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat6/checkers.$(CAT6EXT)
|
|
|
|
$(CP) sudoku.$(CAT6EXT) $(DESTDIR)$(mandir)/cat6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat6/sudoku.$(CAT6EXT)
|
|
|
|
-$(MKDIR) $(DESTDIR)$(mandir)/man6
|
2006-08-25 10:58:33 +04:00
|
|
|
$(CP) blocks.man $(DESTDIR)$(mandir)/man6/blocks.6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man6/blocks.6
|
2006-01-15 21:36:16 +03:00
|
|
|
$(CP) checkers.man $(DESTDIR)$(mandir)/man6/checkers.6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man6/checkers.6
|
|
|
|
$(CP) sudoku.man $(DESTDIR)$(mandir)/man6/sudoku.6
|
|
|
|
$(CHMOD) 644 $(DESTDIR)$(mandir)/man6/sudoku.6
|
|
|
|
|
2001-11-20 00:25:35 +03:00
|
|
|
|
|
|
|
uninstall:
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RMDIR) $(DESTDIR)$(docdir)
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/man1/fluid.1
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/man1/fltk-config.1
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/man3/fltk.3
|
2001-11-20 00:25:35 +03:00
|
|
|
|
2006-01-15 21:36:16 +03:00
|
|
|
uninstall-linux uninstall-osx:
|
2006-08-25 10:58:33 +04:00
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat6/blocks.$(CAT6EXT)
|
2006-01-15 21:36:16 +03:00
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat6/checkers.$(CAT6EXT)
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/cat6/sudoku.$(CAT6EXT)
|
2006-08-25 10:58:33 +04:00
|
|
|
$(RM) $(DESTDIR)$(mandir)/man6/blocks.6
|
2006-01-15 21:36:16 +03:00
|
|
|
$(RM) $(DESTDIR)$(mandir)/man6/checkers.6
|
|
|
|
$(RM) $(DESTDIR)$(mandir)/man6/sudoku.6
|
2001-11-20 00:25:35 +03:00
|
|
|
|
2001-02-12 18:12:14 +03:00
|
|
|
# Base html files are now the readable ones, so this target is not make by
|
|
|
|
# default...
|
2002-04-28 20:41:17 +04:00
|
|
|
fltk.d/index.html: $(HTMLFILES) $(IMAGEFILES)
|
2001-02-12 18:12:14 +03:00
|
|
|
echo "Generating HTML documentation..."
|
2002-07-14 21:03:31 +04:00
|
|
|
-$(RMDIR) fltk.d
|
|
|
|
-$(MKDIR) fltk.d
|
2003-09-08 21:11:45 +04:00
|
|
|
-$(HTMLDOC) --verbose --batch fltk.book -d fltk.d -t html
|
1998-12-29 17:18:27 +03:00
|
|
|
|
2002-04-28 20:41:17 +04:00
|
|
|
fltk.ps: $(HTMLFILES) $(IMAGEFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo "Generating PostScript documentation..."
|
2002-07-14 21:03:31 +04:00
|
|
|
$(RM) fltk.ps
|
2003-09-08 21:11:45 +04:00
|
|
|
-$(HTMLDOC) --verbose --batch fltk.book $(MEDIA) -f fltk.ps
|
1998-12-29 17:18:27 +03:00
|
|
|
|
2002-04-28 20:41:17 +04:00
|
|
|
fltk.pdf: $(HTMLFILES) $(IMAGEFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo "Generating PDF documentation..."
|
2002-07-14 21:03:31 +04:00
|
|
|
$(RM) fltk.pdf
|
2003-09-08 21:11:45 +04:00
|
|
|
-$(HTMLDOC) --verbose --batch fltk.book $(MEDIA) -f fltk.pdf
|
1998-12-29 17:18:27 +03:00
|
|
|
|
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# End of "$Id$".
|
1998-12-29 17:18:27 +03:00
|
|
|
#
|