Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > d401ee85844555fea026e69f422bf276 > files > 7

qtoctave-0.8.2-2mdv2010.1.src.rpm

Move the qtoctave_doc/ directory from /usr/share/qtoctave to
/usr/share/doc/qtoctave

 -- Thomas Weber <thomas.weber.mail@gmail.com>  Tue, 22 Apr 2008 09:03:38 +0200

--- a/qtoctave/configure.h
+++ b/qtoctave/configure.h
@@ -5,7 +5,7 @@
 #define HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/octave3.2-htmldoc/interpreter/index.html"
 #define ICON_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/images"
 #define LANG_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/lang"
-#define QTOCTAVE_HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/qtoctave_doc/index.html"
+#define QTOCTAVE_HELP_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/qtoctave/qtoctave_doc/index.html"
 
 #define PKG_CMD_PATH "${CMAKE_INSTALL_PREFIX}/share/qtoctave/pkg-commands.list"
 #endif
--- a/qtoctave/src/CMakeLists.txt
+++ b/qtoctave/src/CMakeLists.txt
@@ -37,11 +37,13 @@
 TARGET_LINK_LIBRARIES(qtoctave ${Qt4_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY})
 
 install (
-	DIRECTORY images octave_doc qtoctave_doc menus scripts scripts_octave lang
+	DIRECTORY images menus scripts scripts_octave lang
 	DESTINATION share/qtoctave
 	PATTERN ".svn" EXCLUDE
         )
 
+INSTALL ( DIRECTORY qtoctave_doc DESTINATION share/doc/qtoctave )
+
 install	(
 	TARGETS qtoctave
 	RUNTIME DESTINATION bin