lyx_mirror/development/MacOSX/Makefile.am
Jean-Marc Lasgouttes 013d04ac96 [the "translation" patch series] Part 4: translating the LyX menu on the mac
* development/MacOSX/Makefile.am: when installing, create bogus 
	language directories to allow translation through Qt.

	* src/frontends/qt4/GuiApplication.cpp (MenuTranslator): new class, 
	redirects some Qt translation requests to gettext.
	(GuiApplication): install the MenuTranslator.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:57:01 +00:00

20 lines
410 B
Makefile

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