We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2535d7 commit f0db600Copy full SHA for f0db600
tools/mapserver_export/Makefile.am
@@ -75,6 +75,16 @@ libmsexport_la_LIBADD = $(PYTHON_LIB) $(QT_LDADD)
75
libmsexport_la_CXXFLAGS = $(CXXFLAGS) $(PKGDATAPATH) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PYTHON_INCLUDE_DIR) -I../../src
76
#msexport_la_LDFLAGS
77
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
88
#
89
# Put script into an appropriate dir
90
0 commit comments