X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=09fa6fd341b45bda2a1036741e86e25b367c7983;hb=7e2360965657e1529103b7b4c6bc32fcbb25ce00;hp=dd12ea7b6773013c4a0af1005ff38a3613d6f1bb;hpb=e083a0fa35a3579aa5d5f1659b81b88b61bf3cd9;p=xboard.git diff --git a/Makefile.am b/Makefile.am index dd12ea7..09fa6fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -308,8 +308,10 @@ macportsprefix = $(shell which port | sed s/[/]bin[/]port//) $(INSTALL) ./png/marble_l.png $(gamedatadir)/themes/textures $(INSTALL) ./png/xqwood-9x10.png $(gamedatadir)/themes/textures cp -R ./osxapp/logos $(gamedatadir)/ +if NLS_ENABLED cp -R $(macportsprefix)/share/strings/. $(datarootdir)/ for i in po/*gmo; do lang=`basename $$i .gmo`; $(INSTALL) $(macportsprefix)/share/locale/$$lang/LC_MESSAGES/gtk20.mo $(localedir)/$$lang/LC_MESSAGES/; done +endif dylibbundler -of -b -x $(bindir)/xboard-bin -d $(datarootdir)/lib -p @executable_path/../Resources/lib dylibbundler -of -b -x $(datarootdir)/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib dylibbundler -of -b -x $(datarootdir)/lib/gtk-2.0/2.10.0/immodules/im-quartz.so -d $(datarootdir)/lib -p @executable_path/../Resources/lib