summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2001-01-28 06:57:33 +0000
committerBill Spitzak <spitzak@gmail.com>2001-01-28 06:57:33 +0000
commit4fb627c3d81a7574490d2e9fa1f1af60979deafa (patch)
tree81c274e9aa7b940a92513b7a50c59a17f2f9e3fd /documentation/Makefile
parentffe92796d82eb51b4f2b0f90932ea4cee3d4e9be (diff)
fl_curve uses a much better algorithim to figure out how many pieces
to cut the curve into. Right-ctrl does not delete selected text in Fl_Input, until you type a composed character. Added simple fltk.3 and fluid.1 manual pages and "make install" in the documentation directory installs them. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile42
1 files changed, 28 insertions, 14 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 2317b9f96..fc37b9c07 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.9.2.8 2001/01/22 15:13:38 easysw Exp $"
+# "$Id: Makefile,v 1.9.2.9 2001/01/28 06:57:32 spitzak Exp $"
#
# Documentation makefile for the Fast Light Tool Kit (FLTK).
#
@@ -118,26 +118,40 @@ HTMLFILES = \
osissues.html \
license.html
-all: fltk.ps fltk.pdf fltk.d/index.html
+all: fltk.ps fltk.pdf
clean:
- rm -rf fltk.d
rm -f fltk.ps
rm -f fltk.pdf
depend:
-install:
- -mkdir -p $(prefix)/share/doc/fltk
- cp $(HTMLFILES) index.html $(prefix)/share/doc/fltk
- cp *.gif *.jpg $(prefix)/share/doc/fltk
- chmod 644 $(prefix)/share/doc/fltk/*
+# According to FHS this should be:
+# htmldir = $(prefix)/share/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
-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)
+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)
fltk.ps: $(HTMLFILES)
echo "Generating PostScript documentation..."
@@ -149,5 +163,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.8 2001/01/22 15:13:38 easysw Exp $".
+# End of "$Id: Makefile,v 1.9.2.9 2001/01/28 06:57:32 spitzak Exp $".
#