Generate Doxyfile and Doxybook from common source file Doxyfile.in.
Now we have less files to edit, and Doxyfile.in is shared with the CMake generation of Doxyfile and Doxybook. Besides that two files with FLTK version numbers are now removed (less work for future version updates). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
ff1feb8adb
commit
2098d8bfd8
2
.gitignore
vendored
2
.gitignore
vendored
@ -33,6 +33,8 @@
|
||||
/documentation/checkers.0
|
||||
/documentation/checkers.6
|
||||
/documentation/checkers.z
|
||||
/documentation/Doxybook
|
||||
/documentation/Doxyfile
|
||||
/documentation/fltk.0
|
||||
/documentation/fltk.3
|
||||
/documentation/fltk-config.0
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -67,6 +67,7 @@ alldocs: docs
|
||||
dist: docs
|
||||
|
||||
clean:
|
||||
$(RM) Doxyfile Doxybook
|
||||
$(RM) fltk.pdf refman.pdf src/fltk-book.tex
|
||||
$(RMDIR) html latex
|
||||
$(RM) *~ *.bck *.bak *.log
|
||||
@ -126,6 +127,31 @@ uninstall-linux uninstall-osx:
|
||||
$(RM) $(DESTDIR)$(mandir)/man6/checkers.6
|
||||
$(RM) $(DESTDIR)$(mandir)/man6/sudoku.6
|
||||
|
||||
# The documentation is generated using doxygen. There are two control files
|
||||
# for doxygen: Doxyfile for html documentation and Doxybook for pdf docs.
|
||||
# Both files are generated from the common source file Doxyfile.in.
|
||||
# Note that Doxyfile.in is shared with CMake to configure these files.
|
||||
|
||||
Doxyfile: Doxyfile.in
|
||||
echo "Generating Doxyfile ..."
|
||||
sed -e's,@FL_VERSION@,$(FL_VERSION),' \
|
||||
-e's,@GENERATE_HTML@,YES,' \
|
||||
-e's,@GENERATE_LATEX@,NO,' \
|
||||
-e's, @LATEX_HEADER@,,' \
|
||||
-e's,@CMAKE_CURRENT_SOURCE_DIR@/,,' \
|
||||
-e's,@CMAKE_SOURCE_DIR@/,../,' \
|
||||
< $< > $@
|
||||
|
||||
Doxybook: Doxyfile.in
|
||||
echo "Generating Doxybook ..."
|
||||
sed -e's,@FL_VERSION@,$(FL_VERSION),' \
|
||||
-e's,@GENERATE_HTML@,NO,' \
|
||||
-e's,@GENERATE_LATEX@,YES,' \
|
||||
-e's,@LATEX_HEADER@,src/fltk-book.tex,' \
|
||||
-e's,@CMAKE_CURRENT_SOURCE_DIR@/,,' \
|
||||
-e's,@CMAKE_SOURCE_DIR@/,../,' \
|
||||
< $< > $@
|
||||
|
||||
# The HTML files are generated using doxygen, and this needs
|
||||
# an installed doxygen version and may take some time, so this target
|
||||
# is not made by default.
|
||||
|
Loading…
Reference in New Issue
Block a user