[PATCH libosmocore] doxyfiles: refer paths to @srcdir@

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Alex Badea vamposdecampos at gmail.com
Sat Jan 5 18:59:12 UTC 2013


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 at 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
-- 
1.7.0.4





More information about the baseband-devel mailing list