File: prebuild.sh

package info (click to toggle)
r-cran-ff 4.5.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,924 kB
  • sloc: ansic: 7,297; cpp: 2,329; perl: 24; sh: 19; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# Produce the Rd-files for the documentation from the R source files
# 
# Prerequisites:
#   - Perl
#   - R_HOME must be set to the directory where R is installed

echo "#### starting prebuild.sh"

cd ..
mkdir -p man
cd man
find ../R -name '*.[rR]' -exec cat '\{\}' \; | perl ../exec/make_rd.pl
cd ../exec

echo "#### prebuild.sh completed!"