~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/helpviewer/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

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 6350 2006-12-30 02:15:25Z gsherman $
 
12
 
 
13
 
 
14
bin_PROGRAMS = qgis_help
 
15
 
 
16
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
 
17
 
 
18
 
 
19
%.moc.cpp: %.h
 
20
                $(MOC) -o $@ $<
 
21
 
 
22
ui_%.h: %.ui 
 
23
                $(UIC) -o $@ $<
 
24
 
 
25
 
 
26
qgis_help_MOC = qgshelpserver.moc.cpp \
 
27
                                qgshelpviewer.moc.cpp 
 
28
 
 
29
qgis_help_UI = ui_qgshelpviewerbase.h 
 
30
 
 
31
qgis_help_UIC = qgshelpviewerbase.ui
 
32
 
 
33
qgis_help_SOURCES = main.cpp \
 
34
                                                                        qgshelpserver.h \
 
35
                                                                        qgshelpserver.cpp \
 
36
                                                                        qgshelpviewer.h \
 
37
                                                                        qgshelpviewer.cpp \
 
38
                                       $(qgis_help_UI)                  \
 
39
                                       $(qgis_help_MOC)
 
40
 
 
41
BUILT_SOURCES = $(qgis_help_MOC) $(qgis_help_UI)
 
42
 
 
43
qgis_help_LDADD = $(LDADD) $(QT_LDADD) -lsqlite3
 
44
 
 
45
qgis_help_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(PKGDATAPATH)
 
46
 
 
47
CLEANFILES = $(BUILT_SOURCES)
 
48
 
 
49
EXTRA_DIST = $(qgis_help_UIC) 
 
50
 
 
51
# Qt/Mac app needs to be inside a bundle to function correctly
 
52
MACBINDIR = $(bindir)/qgis_help.app/Contents/MacOS
 
53
 
 
54
install-exec-hook:
 
55
if HAVE_QTMAC
 
56
        $(mkinstalldirs) $(MACBINDIR)
 
57
        mv $(bindir)/qgis_help $(MACBINDIR)
 
58
endif