Skip to content

Commit f5c7f7e

Browse files
author
timlinux
committedSep 10, 2006
Make msexport a mac bundle
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5801 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4276b81 commit f5c7f7e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎tools/mapserver_export/Makefile.am

Lines changed: 10 additions & 0 deletions
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)