Skip to content

Commit f0db600

Browse files
author
timlinux
committed
Make msexport a mac bundle
git-svn-id: http://svn.osgeo.org/qgis/trunk@5801 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e2535d7 commit f0db600

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/mapserver_export/Makefile.am

+10
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ libmsexport_la_LIBADD = $(PYTHON_LIB) $(QT_LDADD)
7575
libmsexport_la_CXXFLAGS = $(CXXFLAGS) $(PKGDATAPATH) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PYTHON_INCLUDE_DIR) -I../../src
7676
#msexport_la_LDFLAGS
7777

78+
# Qt/Mac app needs to be inside a bundle to function correctly
79+
MACBINDIR = $(bindir)/msexport.app/Contents/MacOS
80+
81+
install-exec-hook:
82+
if HAVE_QTMAC
83+
$(mkinstalldirs) $(MACBINDIR)
84+
mv $(bindir)/msexport $(MACBINDIR)
85+
endif
86+
87+
7888
#
7989
# Put script into an appropriate dir
8090
#

0 commit comments

Comments
 (0)