mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 02:46:34 +08:00
Fixed one doxygen warning and cleaned up documentation/Makefile.
Removed unused statements and old comment. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+14
-28
@@ -28,19 +28,7 @@
|
|||||||
# Get configuration stuff...
|
# Get configuration stuff...
|
||||||
include ../makeinclude
|
include ../makeinclude
|
||||||
|
|
||||||
# What media size to use:
|
|
||||||
|
|
||||||
# "Universal" size - minimum of US Letter and A4
|
|
||||||
MEDIA = --size universal
|
|
||||||
SRC_DOCDIR = ./src
|
SRC_DOCDIR = ./src
|
||||||
# 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
|
|
||||||
|
|
||||||
# These are the HTML "source" files...
|
# These are the HTML "source" files...
|
||||||
HTMLFILES = \
|
HTMLFILES = \
|
||||||
@@ -213,25 +201,24 @@ all: $(MANPAGES)
|
|||||||
alldocs: pdf-dist html $(MANPAGES)
|
alldocs: pdf-dist html $(MANPAGES)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
# $(RM) fltk.ps
|
|
||||||
$(RM) refman.pdf
|
$(RM) refman.pdf
|
||||||
$(RMDIR) html latex
|
$(RMDIR) html latex
|
||||||
$(RM) *~ *.bck *.bck *.bak *.log
|
$(RM) *~ *.bck *.bak *.log
|
||||||
$(RM) $(MANPAGES) $(SRC_DOCDIR)/*.0
|
$(RM) $(MANPAGES) $(SRC_DOCDIR)/*.0
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
install: $(MANPAGES)
|
install: $(MANPAGES)
|
||||||
echo "Installing documentation files in $(DESTDIR)$(docdir)..."
|
echo "Installing documentation files in $(DESTDIR)$(docdir) ..."
|
||||||
-$(INSTALL_DIR) $(DESTDIR)$(docdir)
|
-$(INSTALL_DIR) $(DESTDIR)$(docdir)
|
||||||
echo Installing file from $(INST_DOC_DIR)
|
|
||||||
if test -f html/index.html ; then \
|
if test -f html/index.html ; then \
|
||||||
for file in html/* ; do \
|
for file in html/* ; do \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
|
||||||
done \
|
done \
|
||||||
fi
|
fi
|
||||||
$(INSTALL_DATA) fltk.pdf $(DESTDIR)$(docdir); \
|
echo "Installing fltk.pdf in $(DESTDIR)$(docdir) ..."
|
||||||
echo "Installing man pages in $(DESTDIR)$(mandir)..."
|
$(INSTALL_DATA) fltk.pdf $(DESTDIR)$(docdir)
|
||||||
|
echo "Installing man pages in $(DESTDIR)$(mandir) ..."
|
||||||
-$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat1
|
-$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat1
|
||||||
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
||||||
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
|
||||||
@@ -271,8 +258,9 @@ uninstall-linux uninstall-osx:
|
|||||||
$(RM) $(DESTDIR)$(mandir)/man6/checkers.6
|
$(RM) $(DESTDIR)$(mandir)/man6/checkers.6
|
||||||
$(RM) $(DESTDIR)$(mandir)/man6/sudoku.6
|
$(RM) $(DESTDIR)$(mandir)/man6/sudoku.6
|
||||||
|
|
||||||
# Base html files are now the readable ones, so this target is not make by
|
# The HTML files are now generated using doxygen, and this needs
|
||||||
# default...
|
# an installed doxygen version and may take some time, so this target
|
||||||
|
# is not made by default.
|
||||||
|
|
||||||
html: html/index.html
|
html: html/index.html
|
||||||
|
|
||||||
@@ -281,23 +269,21 @@ html/index.html: $(HTMLFILES) $(IMAGEFILES) Doxyfile
|
|||||||
-$(RMDIR) html
|
-$(RMDIR) html
|
||||||
-$(INSTALL_DIR) html
|
-$(INSTALL_DIR) html
|
||||||
-$(DOXYDOC)
|
-$(DOXYDOC)
|
||||||
|
if test "x$(DOXYDOC)" = "x" ; then \
|
||||||
|
echo "Sorry - doxygen not found. Please install doxygen and run configure."; \
|
||||||
|
fi
|
||||||
|
|
||||||
html-dist: html
|
html-dist: html
|
||||||
echo "Stripping HTML files..."
|
echo "Stripping HTML files ..."
|
||||||
./strip_tags
|
./strip_tags
|
||||||
|
|
||||||
#fltk.ps: $(HTMLFILES) $(IMAGEFILES)
|
|
||||||
# echo "Generating PostScript documentation..."
|
|
||||||
# $(RM) fltk.ps
|
|
||||||
# -$(HTMLDOC) --verbose --batch $(SRC_DOCDIR)/fltk.book $(MEDIA) -f fltk.ps
|
|
||||||
|
|
||||||
pdf-dist: latex/refman.pdf
|
pdf-dist: latex/refman.pdf
|
||||||
cp -f latex/refman.pdf fltk.pdf
|
cp -f latex/refman.pdf fltk.pdf
|
||||||
|
|
||||||
pdf: latex/refman.pdf
|
pdf: latex/refman.pdf
|
||||||
|
|
||||||
latex/refman.pdf: latex/refman.tex Doxybook $(EPSFILES)
|
latex/refman.pdf: latex/refman.tex Doxybook $(EPSFILES)
|
||||||
echo "Generating PDF documentation..."
|
echo "Generating PDF documentation ..."
|
||||||
$(DOXYDOC) Doxybook ;\
|
$(DOXYDOC) Doxybook ;\
|
||||||
(cd latex ;\
|
(cd latex ;\
|
||||||
pdflatex --interaction=nonstopmode refman.tex ;\
|
pdflatex --interaction=nonstopmode refman.tex ;\
|
||||||
@@ -307,7 +293,7 @@ latex/refman.pdf: latex/refman.tex Doxybook $(EPSFILES)
|
|||||||
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log \
|
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log \
|
||||||
&& [ $$latex_count -gt 0 ] ;\
|
&& [ $$latex_count -gt 0 ] ;\
|
||||||
do \
|
do \
|
||||||
echo "Rerunning latex...." ;\
|
echo "Rerunning latex ..." ;\
|
||||||
pdflatex --interaction=nonstopmode refman.tex ;\
|
pdflatex --interaction=nonstopmode refman.tex ;\
|
||||||
latex_count=`expr $$latex_count - 1` ;\
|
latex_count=`expr $$latex_count - 1` ;\
|
||||||
done ; \
|
done ; \
|
||||||
|
|||||||
@@ -2331,9 +2331,9 @@ void Fl_Text_Display::offset_line_starts( int newTopLineNum ) {
|
|||||||
/**
|
/**
|
||||||
\brief Update line start arrays and variables.
|
\brief Update line start arrays and variables.
|
||||||
|
|
||||||
Update the line starts array, mTopLineNum, mFirstChar and lastChar for text
|
Update the line starts array, mTopLineNum, mFirstChar and lastChar for this
|
||||||
display "textD" after a modification to the text buffer, given by the
|
text display after a modification to the text buffer, given by the
|
||||||
position \pos where the change began, and the numbers of characters
|
position \p pos where the change began, and the numbers of characters
|
||||||
and lines inserted and deleted.
|
and lines inserted and deleted.
|
||||||
|
|
||||||
\param pos index into buffer of recent changes
|
\param pos index into buffer of recent changes
|
||||||
|
|||||||
Reference in New Issue
Block a user