#-*- Makefile -*- ## Copyright (C) 2005-12 R Core Team VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ subdir = po top_builddir = .. include $(top_builddir)/Makeconf R_EXE = $(top_builddir)/bin/R --vanilla --slave LANGS = `cd $(srcdir); ls *.po | sed -e 's/\.po//' -e /^RGui/d` ## LANGS = da en en_GB es fr de it ja ko nn pl pt_BR ru tr zh_CN zh_TW en@quot ## datasets does not have any translations R_PKGS_PO = base compiler grDevices graphics grid methods parallel splines stats stats4 tcltk tools utils .SUFFIXES: all: R: @$(MAKE) install Rsharedir=${top_builddir}/share install: install-exec: install-data: installdirs: installdirs-exec: installdirs-data: uninstall: uninstall-exec: uninstall-data: check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: clean mostlyclean: distclean: @rm -f Makefile maintainer-clean: distclean Makefile: Makefile.in $(top_builddir)/config.status @cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ update-RGui: @$(ECHO) "tools:::update_RGui_po(\"$(top_srcdir)\")" | \ R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) ## en@quot has to be done in a UTF-8 locale update-pkg-po: @for pkg in $(R_PKGS_PO); do \ $(ECHO) "updating translations for $${pkg}"; \ $(ECHO) "tools:::update_pkg_po(\"$(top_srcdir)/src/library/$${pkg}\")" | \ R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE); \ done