~showard314/ubuntu/karmic/r-base/remove_start_comments

« back to all changes in this revision

Viewing changes to src/gnuwin32/fixed/bin/INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2008-12-20 09:26:38 UTC
  • mfrom: (1.2.6 upstream)
  • mto: (2.1.32 jaunty)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20081220092638-i4p6po0hndi24ri5
* Updated to Dec 19 release candidate of R 2.8.1 expected for Dec 22

* r-doc-pdf expected to be empty due to the tex/texinfo bug below

* debian/control: Change Build-Depends: on openjdk-6-jdk to 
  'openjdk-6-jdk [!arm !hppa]' as arm and hppa do not have one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
use R::Dcf;
24
24
use R::Utils;
25
25
 
26
 
my $revision = ' $Rev: 46942 $ ';
 
26
my $revision = ' $Rev: 47206 $ ';
27
27
my $version;
28
28
my $name;
29
29
$revision =~ / ([\d\.]*) /;
75
75
                    "clean|c", "preclean", "docs:s",
76
76
                    "with-package-versions",
77
77
                    "use-zip", "use-zip-data", "use-zip-help",
78
 
                    "auto-zip", "build", "fake", "unsafe");
 
78
                    "auto-zip", "build", "fake", "unsafe", "pkglock");
79
79
 
80
80
##      topLevelFiles will be files that sit in the top level of a
81
81
##      zip/tarball along with any included directories.
179
179
 
180
180
$safe = 1;
181
181
$safe = 0 if $opt_unsafe;
182
 
    print " *** safe is $safe ***\n" if $opt_debug;
 
182
$safe = 2 if $opt_pkglock;
 
183
print " *** safe is $safe ***\n" if $opt_debug;
183
184
 
184
185
if((-e "$R_HOME/doc/html/R.css") && !(-e "$library/R.css")) {
185
186
    printf "installing R.css in $library\n";
300
301
    }
301
302
    ## Now we are ready to install
302
303
    if($safe) {
303
 
        $lockdir = $library . "/" . "00LOCK";
 
304
        if($safe == 2) {
 
305
            $lockdir = $library . "/" . "00LOCK-" . $pkgname;
 
306
            printf "Using lock directory $lockdir\n" if $opt_debug;
 
307
        } else {
 
308
            $lockdir = $library . "/" . "00LOCK";
 
309
        }
304
310
        if(-d $lockdir || -f $lockdir) {
305
311
            print "Failed to lock directory '${library}' for modifying\n";
306
312
            print "Try removing '${lockdir}'\n";
309
315
        }
310
316
        mkpath($lockdir);
311
317
        if(! -d $lockdir) {
312
 
            print "Failed to lock directory '${library}' for modifying\n";
 
318
            print "Failed to create lock directory '${library}'\n";
313
319
            print "Permission problem?\n";
314
320
            if (defined($tardir)) { chdir($startdir); rmtree($tardir); }
315
321
            exit 3;
489
495
  --auto-zip            select whether to zip automatically
490
496
  --fake                do minimal install for testing purposes
491
497
  --unsafe              install on top of any existing installation
 
498
  --pkglock             use a per-package lock directory
492
499
  --build               zip-up the installation.  Implies --auto-zip
493
500
 
494
501