mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
013d04ac96
* 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
20 lines
410 B
Makefile
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
|