X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2FMacOSX%2FMakefile.am;h=9ca0c22a5f12b84fa655a9311418127f6d638acb;hb=79cf3f5ec1088e7de988e889247ec300d42fb70b;hp=ca8a6919c4b2b51140217c5d4937ce5257d429f7;hpb=6977164d68e697c3ff3decc36e3f7e4821685d55;p=lyx.git diff --git a/development/MacOSX/Makefile.am b/development/MacOSX/Makefile.am index ca8a6919c4..9ca0c22a5f 100644 --- a/development/MacOSX/Makefile.am +++ b/development/MacOSX/Makefile.am @@ -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