When building out-of-srcdir, paths such as "src/gsm" will not find any source files. Since the Doxyfiles are preprocessed, we can prepend @srcdir@ to fix that.
Signed-off-by: Alex Badea vamposdecampos@gmail.com --- Doxyfile.codec.in | 2 +- Doxyfile.core.in | 2 +- Doxyfile.gsm.in | 2 +- Doxyfile.vty.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doxyfile.codec.in b/Doxyfile.codec.in index fcd5122..1b0df5e 100644 --- a/Doxyfile.codec.in +++ b/Doxyfile.codec.in @@ -610,7 +610,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces.
-INPUT = include/osmocom/codec src/codec +INPUT = @srcdir@/include/osmocom/codec @srcdir@/src/codec
# 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 diff --git a/Doxyfile.core.in b/Doxyfile.core.in index 18eb226..ee58f80 100644 --- a/Doxyfile.core.in +++ b/Doxyfile.core.in @@ -610,7 +610,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces.
-INPUT = include/osmocom/core src +INPUT = @srcdir@/include/osmocom/core @srcdir/@src
# 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 diff --git a/Doxyfile.gsm.in b/Doxyfile.gsm.in index ab25b22..36a6ae2 100644 --- a/Doxyfile.gsm.in +++ b/Doxyfile.gsm.in @@ -610,7 +610,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces.
-INPUT = include/osmocom/gsm include/osmocom/gsm/protocol src/gsm +INPUT = @srcdir@/include/osmocom/gsm @srcdir@/include/osmocom/gsm/protocol @srcdir@/src/gsm
# 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 diff --git a/Doxyfile.vty.in b/Doxyfile.vty.in index 57f19ad..527cdb2 100644 --- a/Doxyfile.vty.in +++ b/Doxyfile.vty.in @@ -610,7 +610,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces.
-INPUT = include/osmocom/vty src/vty +INPUT = @srcdir@/include/osmocom/vty @srcdir@/src/vty
# 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
When building out-of-srcdir, paths such as "src/gsm" will not find any source files. Since the Doxyfiles are preprocessed, we can prepend @srcdir@ to fix that.
Signed-off-by: Alex Badea vamposdecampos@gmail.com
Merged.
Also applied an equivalent patch to libosmo-dsp.
If anyone has created a Doxy template following the examples in libosmocore, you might want to check if that fix is required as well.
Cheers,
Sylvain
On Sun, Jan 06, 2013 at 12:59:54AM +0100, Sylvain Munaut wrote:
Also applied an equivalent patch to libosmo-dsp.
If anyone has created a Doxy template following the examples in libosmocore, you might want to check if that fix is required as well.
Hi,
depending on what we do @abs_srcdir@ might better/worse.
holger
baseband-devel@lists.osmocom.org