Rev 88110 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/po/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@subdir = potop_builddir = ..include $(top_builddir)/MakeconfR_EXE = $(top_builddir)/bin/R --vanilla --no-echo# LANGS=`ls -1 src/library/*/po/*.po | grep -F -v RGui | sed -e 's/.*[/]po[/]//; s/R-//; s/\.po//' | sort -u`# echo $LANGS# bn da de en en_GB es fa fr hi id it ja ko lt ne nn pl pt_BR ru sq tr ur zh_CN zh_TW## datasets does not have any translationsR_PKGS_PO = base compiler grDevices graphics grid methods parallel splines stats stats4 tcltk tools utils.SUFFIXES:all:R:@$(MAKE) install Rsharedir=${top_builddir}/shareinstall:install-exec:install-data:installdirs:installdirs-exec:installdirs-data:uninstall:uninstall-exec:uninstall-data:check: allinfo dvi ps pdf html tags TAGS ctags CTAGS ID:clean mostlyclean:distclean:@rm -f Makefilemaintainer-clean: distcleanMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@update-RGui:@$(ECHO) "tools:::update_RGui_po(\"$(top_srcdir)\", mergeOpts=\"--no-wrap\")" | \R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE)## en@quot has to be done in a UTF-8 localeupdate-pkg-po:@fail=; for pkg in $(R_PKGS_PO); do \$(ECHO); $(ECHO) "updating translations for '$${pkg}'"; \$(ECHO) "options(warn=2); tools::update_pkg_po(\"$(top_srcdir)/src/library/$${pkg}\", mergeOpts=\"--no-wrap\")" | \R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) || fail="$${fail} $${pkg}"; \done; if test -n "$${fail}"; then $(ECHO) "FAILED:$${fail}"; exit 1; fi## to only generate the templates:update-pkg-pot:@for pkg in $(R_PKGS_PO); do \$(ECHO) "updating translation templates for '$${pkg}'"; \$(ECHO) "options(warn=2); tools::update_pkg_po(\"$(top_srcdir)/src/library/$${pkg}\", mergeOpts=NULL, mo_make=FALSE)" | \R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) || exit 1; done