nixpkgs-suyu/pkgs/tools/graphics/wkhtmltopdf/makefix.patch

25 lines
1.1 KiB
Diff
Raw Normal View History

diff -Naur a/src/image/image.pro b/src/image/image.pro
--- a/src/image/image.pro 2014-08-28 14:07:51.024561967 +0200
+++ b/src/image/image.pro 2014-08-28 14:08:22.383623390 +0200
@@ -25,7 +25,7 @@
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 > $$INSTALLBASE/share/man/man1/wkhtmltoimage.1.gz
QMAKE_EXTRA_TARGETS += man
INSTALLS += man
diff -Naur a/src/pdf/pdf.pro b/src/pdf/pdf.pro
--- a/src/pdf/pdf.pro 2014-08-28 14:10:02.305818775 +0200
+++ b/src/pdf/pdf.pro 2014-08-28 14:09:47.360789555 +0200
@@ -25,7 +25,7 @@
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 > $$INSTALLBASE/share/man/man1/wkhtmltopdf.1.gz
QMAKE_EXTRA_TARGETS += man
INSTALLS += man