autotools: fix out-of-tree building of documentation
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 2 Dec 2020 22:46:40 +0000 (23:46 +0100)
committerLudovic Rousseau <ludovic.rousseau@free.fr>
Thu, 3 Dec 2020 17:51:45 +0000 (18:51 +0100)
commit442305ec3d525bc9745cd1d7b7e89fd413595444
treec9ecc4e32d26c1c83f15ae97fcddb0266bb03d71
parentcd431859fad160b29a43192fb1e2894cb6517f10
autotools: fix out-of-tree building of documentation

When building libusb out-of-tree, ie when running configure from another
directory, building the documentation fails with:

  $ make -C doc
  make: Entering directory '/tmp/build/doc'
  make: *** No rule to make target 'libusb.png', needed by 'api-1.0'.  Stop.
  make: Leaving directory '/tmp/build/doc'

This has likely been broken by commit 4a5540a925e4 ("autotools: Fix a number of
issues"). This patch fixes that by prefixing libusb.png with @top_srcdir@/doc.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
doc/Makefile.in
doc/doxygen.cfg.in
libusb/version_nano.h