summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-25 17:23:21 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-25 17:23:21 +0000
commitb02747d15715616a442d18f800d32161efa78924 (patch)
treeff181db8640c7a031004c259baf08ff715512587 /documentation/Makefile
parentadb63efc6f30f0ab6ab807a156d44fa65e1eeafd (diff)
Simplify documentation generation, remove obsolete file.
Doxybook and Doxyfile have been compared and differences have been adjusted so there are only _relevant_ differences now. The dependency on fltk-book.tex in html generation has been removed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index e623581a8..d6bcd7dd1 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -131,7 +131,7 @@ uninstall-linux uninstall-osx:
# is not made by default.
# Use `make html' or `make docs' to create the html docs.
-html: $(HTMLFILES) Doxyfile src/fltk-book.tex
+html: $(HTMLFILES) Doxyfile
echo "Generating HTML documentation..."
-$(RMDIR) html
-$(INSTALL_DIR) html
@@ -158,9 +158,10 @@ refman.pdf: $(HTMLFILES) Doxybook src/fltk-book.tex
src/fltk-book.tex: src/fltk-book.tex.in
DOXY_VERSION=`$(DOXYDOC) --version`; \
YEAR=`date +%Y`; \
- FLTK_VERSION=`cat ../VERSION`; \
- sed -e"s/@YEAR@/$$YEAR/g" -e"s/@VERSION@/$$FLTK_VERSION/g" \
- -e"s/@DOXY_VERSION@/$$DOXY_VERSION/g" < $< > $@
+ sed -e"s/@YEAR@/$$YEAR/g" \
+ -e"s/@FL_VERSION@/$(FL_VERSION)/g" \
+ -e"s/@DOXY_VERSION@/$$DOXY_VERSION/g" \
+ < $< > $@
#
# End of "$Id$".