lyx_mirror/development/MacOSX/Makefile.am
Stephan Witt 4674c3e1c5 Patch from Benjamin Piwowar - see ticket #8185:
In order to interact with native osx applications, AppleScript support is a plus.
Here is a patch that makes LyX respond to a simple command (run) and that allows to communicate with LyX as with the LyX client.
Example of use:
	tell application "LyX" to run "server-get-filename" with argument ""'
returns
	message:/Users/bpiwowar/newfile1.lyx, code:0
with a message and the error code
2012-08-19 22:27:20 +02:00

22 lines
463 B
Makefile

include $(top_srcdir)/config/common.am
LINGUAS = $(srcdir)/../../po/LINGUAS
SUBDIRS = spotlight
bundledir = ${prefix}/Contents
dist_bundle_DATA = PkgInfo
nodist_bundle_DATA = Info.plist
dist_bin_SCRIPTS = lyxeditor
dist_pkgdata_DATA = COPYING LyXapp.icns LyX.icns LyX.sdef
nodist_pkgdata_DATA = lyxrc.dist
install-data-hook:
LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" $(LINGUAS)`; \
for f in en $$LINGUAS_ ; do \
mkdir -p $(pkgdatadir)/$$f.lproj ; \
done