0005-fix-doc-installation-path.patch 765 B

123456789101112131415161718192021222324
  1. Makefile.am: fix bogus docdir definition
  2. The definition of the docdir variable uses $(DESTDIR). However,
  3. automake already prefixes all *dir variables automatically with
  4. DESTDIR, which causes the documentation to be installed in
  5. $(DESTDIR)/$(DESTDIR)/usr/share/doc/...
  6. Fix this by removing the $(DESTDIR) part of the docdir definition.
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8. Index: b/Makefile.am
  9. ===================================================================
  10. --- a/Makefile.am
  11. +++ b/Makefile.am
  12. @@ -7,7 +7,7 @@
  13. pkgconfigdir = $(libdir)/pkgconfig
  14. pkgconfig_DATA = libomxil-bellagio.pc
  15. -docdir = $(DESTDIR)$(prefix)/share/doc/@PACKAGE@
  16. +docdir = $(prefix)/share/doc/@PACKAGE@
  17. doc_DATA = README \
  18. ChangeLog \
  19. TODO