qtoctave-0.10.1-use_octave_htmldoc.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Description: Update Octave's HTML doc path to use octave-htmldoc
  2. Also, avoid failure on nonexistent path to upstream stripped HTML files.
  3. Author: Thomas Weber <tweber@debian.org>
  4. Author: Sébastien Villemot <sebastien@debian.org>
  5. Last-Update: 2012-03-11
  6. Forwarded: not-needed
  7. --- a/qtoctave/src/configure.h.in
  8. +++ b/qtoctave/src/configure.h.in
  9. @@ -2,7 +2,7 @@
  10. #ifndef __CONFIGURE_H__
  11. #define __CONFIGURE_H__
  12. #define CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave"
  13. -#define HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/octave-html/octave_doc/index.html"
  14. +#define HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/octave-htmldoc/interpreter/index.html"
  15. #define ICON_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/images"
  16. #define LANG_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/lang"
  17. #define QTOCTAVE_HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/qtoctave/qtoctave_doc/index.html"
  18. --- a/qtoctave/src/CMakeLists.txt
  19. +++ b/qtoctave/src/CMakeLists.txt
  20. @@ -64,14 +64,6 @@
  21. DESTINATION share/qtoctave/lang
  22. )
  23. -
  24. -
  25. -install (
  26. - DIRECTORY octave_doc
  27. - DESTINATION share/doc/octave-html
  28. - PATTERN ".svn" EXCLUDE
  29. - )
  30. -
  31. install (
  32. DIRECTORY qtoctave_doc
  33. DESTINATION share/doc/qtoctave