summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-16 00:01:49 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-16 00:01:49 +0000
commitb41cf28662fe5734530f280cc0dbb34bbf6aa25a (patch)
treee6afdba0c544657c7a60198d5ed984feb5edf90c /documentation/Makefile
parent91c3b8231de57e381d33b154852092c04ab96f14 (diff)
Update "clean" targets to properly handle core files, remove backup files,
etc. Add "install" target to test directory which installs the example programs. Install the config.h file in the examples directory. Make sure the example programs compile outside the FLTK source dir. Add example programs to fltk.list.in. Fix missing redraw() in x_cb() in FLUID... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index a648c6304..3742df43a 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -162,9 +162,9 @@ IMAGEFILES = \
Fl_Check_Button.gif \
fl_choice.gif \
fl_color_chooser.jpg \
- FL.gif \
Fl_File_Chooser.jpg \
Fl_File_Input.gif \
+ FL.gif \
Fl_Help_Dialog.gif \
fl_input.gif \
Fl_Light_Button.gif \
@@ -192,6 +192,7 @@ IMAGEFILES = \
Fl_Value_Input.gif \
Fl_Value_Output.gif \
hello.C.gif \
+ input_choice.jpg \
menubar.gif \
menu_button.gif \
menu.gif \
@@ -207,6 +208,7 @@ IMAGEFILES = \
valuators.gif \
value_slider.gif
+
MANPAGES = fltk.$(CAT3EXT) fltk-config.$(CAT1EXT) fluid.$(CAT1EXT)
all: $(MANPAGES)
@@ -217,6 +219,7 @@ clean:
$(RM) fltk.ps
$(RM) fltk.pdf
$(RMDIR) fltk.d
+ $(RM) *~ *.bck *.bck
depend:
@@ -229,8 +232,8 @@ docdir = $(datadir)/doc/fltk
install: $(MANPAGES)
echo "Installing documentation files in $(DESTDIR)$(docdir)..."
-$(MKDIR) $(DESTDIR)$(docdir)
- $(CP) $(HTMLFILES) *.gif *.jpg index.html $(DESTDIR)$(docdir)
- $(CHMOD) 644 $(DESTDIR)$(docdir)/*
+ $(CP) $(HTMLFILES) $(IMAGEFILES) index.html $(DESTDIR)$(docdir)
+ $(CHMOD) 644 $(DESTDIR)$(docdir)/*.*
echo "Installing man pages in $(DESTDIR)$(mandir)..."
-$(MKDIR) $(DESTDIR)$(mandir)/cat1
$(CP) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1