/
Makefile.in
65 lines (45 loc) · 1.47 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#-*- Makefile -*-
## Copyright (C) 2005-2023 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 --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 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)\", mergeOpts=\"--no-wrap\")" | \
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}\", mergeOpts=\"--no-wrap\")" | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE); \
done