Changeset 2752 for trunk/gsdl


Ignore:
Timestamp:
2001-09-25T12:34:00+12:00 (23 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/create_distributions.pl

    r2654 r2752  
    229229    # Unix directory
    230230    &install_unix_specific ($cdrom_dist_dir);
     231
     232    # for the cd-rom we want to include the unbuilt bits of the demo collection too
     233    my $demodir = &util::filename_cat($cdrom_dist_dir, "gsdl", "collect", "demo");
     234    my $demoetc = &util::filename_cat($demodir, "etc");
     235    my $tmpdemo = &util::filename_cat($tmpdir, "gsdl", "collect", "demo");
     236    die "oops, no demo dir\n" unless -d $demodir;
     237    &util::cp_r (&util::filename_cat ($tmpdemo, "import"), $demodir);
     238    &util::cp (&util::filename_cat ($tmpdemo, "etc", "org.txt"), $demoetc);
     239    &util::cp (&util::filename_cat ($tmpdemo, "etc", "sub.txt"), $demoetc);
     240    &remove_cvs_dirs ($demodir);
     241   
    231242}
    232243
     
    288299    my $modelimport = &util::filename_cat ($tmpdir, "gsdl", "collect", "modelcol", "import");
    289300    &util::mk_all_dir ($modelimport) unless -d $modelimport;
    290 
     301    my $modelperllib = &util::filename_cat ($tmpdir, "gsdl", "collect", "modelcol", "perllib");
     302    &util::mk_all_dir ($modelperllib) unless -d $modelperllib;
     303    my $modelimages = &util::filename_cat ($tmpdir, "gsdl", "collect", "modelcol", "images");
     304    &util::mk_all_dir ($modelimages) unless -d $modelimages;
    291305
    292306    # demo collection needs to be pre-built
Note: See TracChangeset for help on using the changeset viewer.