source: wkhtmltox/trunk/fuentes/src/pdf/pdf.pro @ 51

Last change on this file since 51 was 51, checked in by mabarracus, 4 years ago

wip

File size: 1.4 KB
Line 
1# Copyright 2010, 2011 wkhtmltopdf authors
2#
3# This file is part of wkhtmltopdf.
4#
5# wkhtmltopdf is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# wkhtmltopdf is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with wkhtmltopdf.  If not, see <http:#www.gnu.org/licenses/>.
17
18include(../../common.pri)
19
20TEMPLATE = app
21TARGET = wkhtmltopdf
22DESTDIR = ../../bin
23DEPENDPATH += . ../shared
24INCLUDEPATH += . ../shared
25
26unix {
27    man.path=$$INSTALLBASE/share/man/man1
28    man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltopdf --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltopdf.1.gz
29
30    QMAKE_EXTRA_TARGETS += man
31    INSTALLS += man
32}
33
34macx {
35    CONFIG -= app_bundle
36}
37
38INSTALLS += target
39target.path=$$INSTALLBASE/bin
40
41include(../shared/shared.pri)
42
43CONFIG(shared, shared|static) {
44  LIBS += -L../../bin -lwkhtmltox
45} else {
46  include(../lib/lib.pri)
47}
48
49#Application part
50SOURCES += wkhtmltopdf.cc pdfarguments.cc pdfcommandlineparser.cc \
51           pdfdocparts.cc
Note: See TracBrowser for help on using the repository browser.