1
# Copyright (C) 2005 Gary Sherman gsherman at mrcc dot com
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.
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.
11
# $Id: Makefile.am 6350 2006-12-30 02:15:25Z gsherman $
14
bin_PROGRAMS = qgis_help
16
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
26
qgis_help_MOC = qgshelpserver.moc.cpp \
29
qgis_help_UI = ui_qgshelpviewerbase.h
31
qgis_help_UIC = qgshelpviewerbase.ui
33
qgis_help_SOURCES = main.cpp \
41
BUILT_SOURCES = $(qgis_help_MOC) $(qgis_help_UI)
43
qgis_help_LDADD = $(LDADD) $(QT_LDADD) -lsqlite3
45
qgis_help_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(PKGDATAPATH)
47
CLEANFILES = $(BUILT_SOURCES)
49
EXTRA_DIST = $(qgis_help_UIC)
51
# Qt/Mac app needs to be inside a bundle to function correctly
52
MACBINDIR = $(bindir)/qgis_help.app/Contents/MacOS
56
$(mkinstalldirs) $(MACBINDIR)
57
mv $(bindir)/qgis_help $(MACBINDIR)