Fix build problems with the doxygen docs.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7602 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2002-12-03 07:35:11 +00:00
parent 3cf2d24a0a
commit e0600d10a2
3 changed files with 20 additions and 7 deletions

View File

@ -1,2 +1,5 @@
doxygen.cfg
doxygen.log
html
Makefile
Makefile.in

View File

@ -11,7 +11,7 @@ EXTRA_DIST = \
finutil.html \
plugin.txt \
tax.txt \
doxygen.cfg
doxygen.cfg.in
docdir = ${GNC_DOC_INSTALL_DIR}
@ -19,7 +19,7 @@ all:
doc: doxygen.cfg
echo "doc: " && pwd && echo "distdir: " && echo $(distdir)
rm -rf html/ refman.pdf
rm -rf html refman.pdf
$(DOXYGEN) doxygen.cfg
# $(MAKE) -C latex/
# mv latex/refman.pdf ./refman.pdf
@ -27,12 +27,11 @@ doc: doxygen.cfg
dist-hook:
echo "dist-hook: " && pwd
cd $(srcdir) && pwd && rm -rf html refman.pdf && $(DOXYGEN) doxygen.cfg
cp -rp $(srcdir)/html ${distdir}
cp -rp html ${distdir}
clean-local:
echo "clean-local: " && pwd
rm -rf latex/
rm -f *~
rm -f doxygen.log
maintainer-clean-local: clean-local
@ -41,9 +40,20 @@ maintainer-clean-local: clean-local
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html
# mkdir -p $(srcdir)/html #Workaround to allow libofx-cvs user to install without doc.
mkdir -p html #Workaround to allow libofx-cvs user to install without doc.
# cp -rp $(srcdir)/html ${docdir}
cp -rp $(srcdir)/html $(DESTDIR)$(docdir)/html
cp -rp html $(DESTDIR)$(docdir)/html
uninstall-hook:
rm -rf ${docdir}/html
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@. This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
doxygen.cfg: doxygen.cfg.in Makefile
rm -f $@.tmp
sed < $< > $@.tmp \
-e 's:@-top_srcdir-@:${top_srcdir}:g'
mv $@.tmp $@

View File

@ -56,7 +56,7 @@ WARN_LOGFILE = doxygen.log
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = ../
INPUT = @-top_srcdir-@/src
FILE_PATTERNS =
RECURSIVE = YES
EXCLUDE =