Commit c79f1de3 authored by Benoit Grégoire's avatar Benoit Grégoire

More doxygen improvement for trac integration

parent 143701cd
...@@ -8,4 +8,8 @@ EXTRA_DIST = m4/*.m4 tools/*.sh platform/* images/* README.gentoo ...@@ -8,4 +8,8 @@ EXTRA_DIST = m4/*.m4 tools/*.sh platform/* images/* README.gentoo
.PHONY: doc .PHONY: doc
doc: doc:
$(MAKE) -C doc doc $(MAKE) -C doc doc
\ No newline at end of file
.PHONY: doxygen-trac
doxygen-trac:
$(MAKE) -C doc/doxygen doxygen-trac
\ No newline at end of file
...@@ -2,12 +2,22 @@ SUBDIRS = ...@@ -2,12 +2,22 @@ SUBDIRS =
docdir = ${prefix}/share/doc/wifidog-@VERSION@ docdir = ${prefix}/share/doc/wifidog-@VERSION@
html_parent_dir = . html_parent_dir = .
HTML_HEADER =
HTML_FOOTER =
all: all:
doc: core-doc gtk-gui-doc .PHONY: doxygen-trac
doxygen-trac: clean core-doc-trac gtk-gui-doc-trac
%-doc-trac : %-doc
ln -s ${html_parent_dir}/$< ${html_parent_dir}/$</html
doc: clean core-doc gtk-gui-doc
%-doc : %-doc.cfg %-doc : %-doc.cfg
rm -rf $@-html/ refman.pdf rm -rf $@/ refman.pdf
$(DOXYGEN) $< $(DOXYGEN) $<
# $(MAKE) -C latex/ # $(MAKE) -C latex/
# mv latex/refman.pdf ./refman.pdf # mv latex/refman.pdf ./refman.pdf
...@@ -16,7 +26,7 @@ doc: core-doc gtk-gui-doc ...@@ -16,7 +26,7 @@ doc: core-doc gtk-gui-doc
clean-local: clean-local:
echo "clean-local: " && pwd echo "clean-local: " && pwd
rm -rf latex/ rm -rf latex/
rm -rf ${html_parent_dir}/*-html/ rm -rf ${html_parent_dir}/*-doc/
rm -f *~ rm -f *~
rm -f doxygen.log rm -f doxygen.log
rm -f doxygen.cfg rm -f doxygen.cfg
...@@ -34,6 +44,12 @@ maintainer-clean-local: clean-local ...@@ -34,6 +44,12 @@ maintainer-clean-local: clean-local
sed < $< > $@.tmp \ sed < $< > $@.tmp \
-e 's:@-top_srcdir-@:${top_srcdir}:g' -e 's:@-top_srcdir-@:${top_srcdir}:g'
sed < $@.tmp > $@.tmp2 \ sed < $@.tmp > $@.tmp2 \
-e 's:@-htmldir-@:${html_parent_dir}/$*-html:g' -e 's:@-html_dir-@:${html_parent_dir}/$*:g'
rm $@.tmp rm $@.tmp
mv $@.tmp2 $@ sed < $@.tmp2 > $@.tmp3 \
\ No newline at end of file -e 's:@-html_header-@:${HTML_HEADER}:g'
rm $@.tmp2
sed < $@.tmp3 > $@.tmp4 \
-e 's:@-html_footer-@:${HTML_FOOTER}:g'
rm $@.tmp3
mv $@.tmp4 $@
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = SFLPhone Core engine PROJECT_NAME = SFLPhone Core
PROJECT_NUMBER = PROJECT_NUMBER =
OUTPUT_DIRECTORY = OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
...@@ -111,10 +111,10 @@ IGNORE_PREFIX = ...@@ -111,10 +111,10 @@ IGNORE_PREFIX =
# configuration options related to the HTML output # configuration options related to the HTML output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
GENERATE_HTML = YES GENERATE_HTML = YES
HTML_OUTPUT = @-htmldir-@ HTML_OUTPUT = @-html_dir-@
HTML_FILE_EXTENSION = HTML_FILE_EXTENSION =
HTML_HEADER = HTML_HEADER = @-html_header-@
HTML_FOOTER = HTML_FOOTER = @-html_footer-@
HTML_STYLESHEET = HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO GENERATE_HTMLHELP = NO
......
...@@ -111,10 +111,10 @@ IGNORE_PREFIX = ...@@ -111,10 +111,10 @@ IGNORE_PREFIX =
# configuration options related to the HTML output # configuration options related to the HTML output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
GENERATE_HTML = YES GENERATE_HTML = YES
HTML_OUTPUT = @-htmldir-@ HTML_OUTPUT = @-html_dir-@
HTML_FILE_EXTENSION = HTML_FILE_EXTENSION =
HTML_HEADER = HTML_HEADER = @-html_header-@
HTML_FOOTER = HTML_FOOTER = @-html_footer-@
HTML_STYLESHEET = HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO GENERATE_HTMLHELP = NO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment