LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File highlight-3.43-fix-doc-dir.patch of Package highlight (Project devel:tools)

diff -Nur highlight-2.10-orig//makefile highlight-2.10//makefile
--- highlight-2.10-orig//makefile	2009-07-22 23:49:45.000000000 +0200
+++ highlight-2.10//makefile	2009-07-22 23:50:33.000000000 +0200
@@ -20,7 +20,7 @@
 man_dir = ${PREFIX}/share/man/man1/
 
 # Location of the highlight documentation:
-doc_dir = ${PREFIX}/share/doc/highlight/
+doc_dir = ${PREFIX}/share/doc/packages/highlight/
 
 # Location of the highlight extras:
 examples_dir = ${doc_dir}extras/
diff -up ./src/gui-qt/highlight.pro.orig ./src/gui-qt/highlight.pro
--- ./src/gui-qt/highlight.pro.orig	2016-09-27 11:46:50.559943746 +0200
+++ ./src/gui-qt/highlight.pro	2016-09-27 11:47:14.663942558 +0200
@@ -47,7 +47,7 @@ unix {
         DEFINES+=CONFIG_DIR=\\\"/etc/highlight/\\\"
     }
     !contains(DEFINES, DOC_DIR.*) {
-        DEFINES+=DOC_DIR=\\\"/usr/share/doc/highlight/\\\"
+        DEFINES+=DOC_DIR=\\\"/usr/share/doc/packages/highlight/\\\"
     }
 }