]> git.lyx.org Git - lyx.git/blobdiff - development/MacOSX/Makefile.am
Fix text direction issue for InsetInfo in RTL context
[lyx.git] / development / MacOSX / Makefile.am
index ca8a6919c4b2b51140217c5d4937ce5257d429f7..9ca0c22a5f12b84fa655a9311418127f6d638acb 100644 (file)
@@ -1,11 +1,21 @@
 include $(top_srcdir)/config/common.am
 
+LINGUAS = $(srcdir)/../../po/LINGUAS
+
 SUBDIRS = spotlight
 
 bundledir = ${prefix}/Contents
-dist_bundle_DATA = Info.plist PkgInfo
+dist_bundle_DATA = PkgInfo
+nodist_bundle_DATA = Info.plist
+
+dist_bin_SCRIPTS = lyxeditor maxima inkscape
 
-bin_SCRIPTS = lyxeditor
+dist_pkgdata_DATA = COPYING LyXapp.icns LyX.icns LyX.sdef dmg-background.png
+nodist_pkgdata_DATA = lyxrc.dist
 
-dist_pkgdata_DATA = COPYING LyXapp.icns LyX.icns lyxrc.dist
 
+install-data-hook:
+       LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" $(LINGUAS)`; \
+       for f in en $$LINGUAS_ ; do \
+         $(MKDIR_P) $(pkgdatadir)/$$f.lproj ; \
+       done