Browse Source

Use correct install path for man pages

Changing INSTALL_ROOT, for example in a build environment, the man pages
was installed in an incorrectly (non-existing) path.

Use correct INSTALLBASE even for the genereated man page files.

Signed-off-by: Max Sikstrom <max.sikstrom@op5.com>
Max Sikstrom 8 years ago
parent
commit
40c6c1469e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/image/image.pro
  2. 1 1
      src/pdf/pdf.pro

+ 1 - 1
src/image/image.pro

@@ -25,7 +25,7 @@ INCLUDEPATH += . ../shared
 
 unix {
     man.path=$$INSTALLBASE/share/man/man1
-    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltoimage.1.gz
+    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage | gzip > $(INSTALL_ROOT)$$INSTALLBASE/share/man/man1/wkhtmltoimage.1.gz
 
     QMAKE_EXTRA_TARGETS += man
     INSTALLS += man

+ 1 - 1
src/pdf/pdf.pro

@@ -25,7 +25,7 @@ INCLUDEPATH += . ../shared
 
 unix {
     man.path=$$INSTALLBASE/share/man/man1
-    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltopdf --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltopdf.1.gz
+    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltopdf --manpage | gzip > $(INSTALL_ROOT)$$INSTALLBASE/share/man/man1/wkhtmltopdf.1.gz
 
     QMAKE_EXTRA_TARGETS += man
     INSTALLS += man