Properly fix doxygen out-of-tree build process:
- move Doxyfile to Doxyfile.in: type 'make Doxyfile' to recreate it - create Doxyfile from Doxyfile.in with make rule: - use sed substitution of $(srcdir) to location directories - delete all doxygen created files with 'make distclean' - include all required files (including logger.pl) in distribution git-svn-id: svn://svn.berlios.de/openocd/trunk@1901 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
8717ed04aa
commit
a6f7ca1a3a
|
@ -564,12 +564,12 @@ WARN_LOGFILE =
|
||||||
# directories like "/usr/src/myproject". Separate the files or directories
|
# directories like "/usr/src/myproject". Separate the files or directories
|
||||||
# with spaces.
|
# with spaces.
|
||||||
|
|
||||||
INPUT = doc/manual \
|
INPUT = @srcdir@/doc/manual \
|
||||||
TODO \
|
@srcdir@/TODO \
|
||||||
BUGS \
|
@srcdir@/BUGS \
|
||||||
PATCHES \
|
@srcdir@/PATCHES \
|
||||||
src \
|
@srcdir@/src \
|
||||||
config.h
|
@srcdir@/config.h
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
|
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
|
18
Makefile.am
18
Makefile.am
|
@ -11,15 +11,23 @@ nobase_dist_pkgdata_DATA = \
|
||||||
|
|
||||||
SUBDIRS = src doc
|
SUBDIRS = src doc
|
||||||
|
|
||||||
EXTRA_DIST = Doxyfile
|
EXTRA_DIST = \
|
||||||
|
Doxyfile.in \
|
||||||
|
tools/logger.pl
|
||||||
|
|
||||||
docs: pdf html doxygen
|
docs: pdf html doxygen
|
||||||
|
|
||||||
doxygen::
|
Doxyfile: $(srcdir)/Doxyfile.in
|
||||||
(cd $(srcdir) && doxygen Doxyfile 2>&1 | perl tools/logger.pl ) > doxygen.log
|
sed -e 's,@srcdir\@,$(srcdir),' $< > $@
|
||||||
|
|
||||||
doxygen-clean:
|
doxygen::
|
||||||
rm -f -r doxygen doxygen.log
|
$(MAKE) Doxyfile
|
||||||
|
doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
|
||||||
|
|
||||||
|
distclean-local:
|
||||||
|
rm -rf Doxyfile doxygen
|
||||||
|
|
||||||
|
DISTCLEANFILES = doxygen.log
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
configure \
|
configure \
|
||||||
|
|
Loading…
Reference in New Issue