[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LilyPond C/C++ #include cleanup
From: |
Andreas Scherer |
Subject: |
Re: LilyPond C/C++ #include cleanup |
Date: |
Sat, 20 Nov 2004 12:34:50 +0100 |
User-agent: |
KMail/1.7.1 |
On Friday 19 November 2004 14:52, Han-Wen Nienhuys wrote:
> I've added the Doxygen file to CVS. I'm willing to add doxygen rules
> to the makefile, if someone writes them.
Unfortunately, I'm not proficient with 'autoconf', so I can't provide a
working solution right now. But here's what I've got so far and my ideas
about how to fill the gaps:
(1) Move 'Doxyfile' to 'Documentation/Doxyfile.in' and apply the attached
patch; it introduces variables @PACKAGE_NAME@, @TOPLEVEL_VERSION@, and
@HAVE_DOT@ at the appropriate locations and it makes 'doxygen' look for input
starting at directory '..'.
(2) Let the toplevel 'configure.in' check for 'doxygen' and 'dot':
STEPMAKE_PROGS(DOXYGEN, doxygen, OPTIONAL, 1.3.8)
STEPMAKE_PROGS(DOT, dot, OPTIONAL, 1.16)
and set the variable HAVE_DOT to 'YES' if 'dot' is present, otherwise to 'NO'.
(3) [I failed to achieve this step; all I managed was to replace PACKAGE_NAME,
but not the other two variables] Create 'Documentation/Doxyfile' from
'Documentation/Doxyfile.in' by replacing the @-variables with their current
contents, e.g., 'LilyPond', '2.5.0hwn1', and 'YES' resp. 'NO'.
(4) In the GNUmakefile for directory Documentation run the command line
"doxygen Doxyfile", iff DOXYGEN is set in (2). There is no other dependency
necessary as soon as the 'Doxyfile' is installed. DOT will be triggered by
DOXYGEN only when HAVE_DOT is 'YES'.
I'm sure it is not hard to do this, but as I said above, I've never used
'autoconf' and even after some trial, all I got were errors.
Andreas
Doxyfile.patch.gz
Description: GNU Zip compressed data