~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/helpviewer/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Gary Sherman gsherman at mrcc dot com
2
 
#  
3
 
# This file is free software; as a special exception the author gives
4
 
# unlimited permission to copy and/or distribute it, with or without 
5
 
# modifications, as long as this notice is preserved.
6
 
7
 
# This program is distributed in the hope that it will be useful, but
8
 
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9
 
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
 
#
11
 
# $Id: Makefile.am 6716 2007-02-26 23:33:10Z homann $
12
 
 
13
 
 
14
 
bin_PROGRAMS = qgis_help
15
 
 
16
 
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
17
 
PLUGINPATH=-DPLUGINPATH=\"$(pluginpath)\"
18
 
PREFIX=-DPREFIX=\"$(prefix)\"
19
 
 
20
 
 
21
 
%.moc.cpp: %.h
22
 
                $(MOC) -o $@ $<
23
 
 
24
 
ui_%.h: %.ui 
25
 
                $(UIC) -o $@ $<
26
 
 
27
 
 
28
 
qgis_help_MOC = qgshelpserver.moc.cpp \
29
 
                                qgshelpviewer.moc.cpp 
30
 
 
31
 
qgis_help_UI = ui_qgshelpviewerbase.h 
32
 
 
33
 
qgis_help_UIC = qgshelpviewerbase.ui
34
 
 
35
 
qgis_help_SOURCES = main.cpp \
36
 
                                                                        qgshelpserver.h \
37
 
                                                                        qgshelpserver.cpp \
38
 
                                                                        qgshelpviewer.h \
39
 
                                                                        qgshelpviewer.cpp \
40
 
                                                                ../core/qgsapplication.h \
41
 
                                                                ../core/qgsapplication.cpp \
42
 
                                                                ../core/qgslogger.h \
43
 
                                                                ../core/qgslogger.cpp \
44
 
                                       $(qgis_help_UI)                  \
45
 
                                       $(qgis_help_MOC)
46
 
 
47
 
BUILT_SOURCES = $(qgis_help_MOC) $(qgis_help_UI)
48
 
 
49
 
qgis_help_LDADD = $(LDADD) $(QT_LDADD) -lsqlite3
50
 
 
51
 
qgis_help_CXXFLAGS = -I../core $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(PKGDATAPATH) $(PLUGINPATH) $(PREFIX)
52
 
 
53
 
CLEANFILES = $(BUILT_SOURCES)
54
 
 
55
 
EXTRA_DIST = $(qgis_help_UIC) 
56
 
 
57
 
# Qt/Mac app needs to be inside a bundle to function correctly
58
 
MACBINDIR = $(bindir)/qgis_help.app/Contents/MacOS
59
 
 
60
 
install-exec-hook:
61
 
if HAVE_QTMAC
62
 
        $(mkinstalldirs) $(MACBINDIR)
63
 
        mv $(bindir)/qgis_help $(MACBINDIR)
64
 
endif