diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2008-09-04 13:50:49 +0200 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-11-02 15:05:47 +0000 |
commit | d25b566b3b8febafdda4211de724b4727dd4b7e0 (patch) | |
tree | e7537fd681fff5737265a40adcf83f70059afe6d /doc | |
parent | 8674c67ef78e1cf89db1fa584a4304f7c5ddcc5f (diff) | |
download | libusb-d25b566b3b8febafdda4211de724b4727dd4b7e0.tar.gz |
Support for out-of-tree building
Contrary to libusb 0.1, libusb 1.0 does not support out-of-tree building
for the documentation part. This patch fixes that by using a
doxygen.cfg.in file, which contains @top_srcdir@ to refer to the
location of the libusb source code.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 2 | ||||
-rw-r--r-- | doc/doxygen.cfg.in (renamed from doc/doxygen.cfg) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index ba13825..7659cdf 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = doxygen.cfg +EXTRA_DIST = doxygen.cfg.in docs: doxygen.cfg doxygen $^ diff --git a/doc/doxygen.cfg b/doc/doxygen.cfg.in index 64face5..574b52f 100644 --- a/doc/doxygen.cfg +++ b/doc/doxygen.cfg.in @@ -477,7 +477,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = ../libusb +INPUT = @top_srcdir@/libusb # 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 also the default @@ -505,7 +505,7 @@ RECURSIVE = NO # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. -EXCLUDE = ../libusb/libusbi.h +EXCLUDE = @top_srcdir@/libusb/libusbi.h # The EXCLUDE_SYMLINKS tag can be used select whether or not files or # directories that are symbolic links (a Unix filesystem feature) are excluded |