Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2115

Show
Ignore:
Timestamp:
04/26/07 16:50:06 (2 years ago)
Author:
larsivi
Message:

Use DMD version in package name, clear old installs, copy std

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/install/dmd-posix/mkinstaller.sh

    r2060 r2115  
    1 #!/bin/bash -x  
     1#!/bin/bash  
    22# Copyright (C) 2007  Gregor Richards 
    33# Permission is granted to do anything you please with this software. 
     
    2424elif [ -e version.txt ] 
    2525then 
    26     TANGO_VERSION="`cat version.txt`" 
     26    TANGO_VERSION="`cat version.txt`" 
     27    DMD_VERSION="`cat dmdversion.txt`" 
    2728fi 
    2829 
     
    6465cp ../install/dmd-posix/uninstall.sh bin/uninstall-tango-core || die 1 "Failed to install the uninstaller" 
    6566 
     67# Clear old import files 
     68rm -rf import/tango import/std 
     69 
    6670mkdir -p import 
    6771cp -pR ../tango import || die 1 "Failed to copy in the tango .d files" 
     72cp -pR ../std import || die 1 "Failed to copy in the std .d files" 
    6873 
    6974mkdir -p lib 
     
    7883# 3) Make the installer proper 
    7984( 
    80     echo -e '#!/bin/bash\nINST_DMD=0' ; 
     85    echo -e '#!/bin/bash -x\nINST_DMD=0' ; 
    8186    cat install/dmd-posix/installer.sh ; 
    8287    tar cf - core.tar.gz tango.tar.gz 
    83 ) > tango-$TANGO_VERSION-dmd-posix.sh || die 1 "Failed to create the installer" 
    84 chmod 0755 tango-$TANGO_VERSION-dmd-posix.sh 
     88) > tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix.sh || die 1 "Failed to create the installer" 
     89chmod 0755 tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix.sh 
    8590 
    8691# 4) DMD  
     
    99104        cat install/dmd-posix/installer.sh ; 
    100105        tar cf - core.tar.gz tango.tar.gz dmd.tar.gz 
    101     ) > tango-$TANGO_VERSION-dmd-posix-withDMD.sh || die 1 "Failed to create the installer with DMD" 
    102     chmod 0755 tango-$TANGO_VERSION-dmd-posix-withDMD.sh 
     106    ) > tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix-withDMD.sh || die 1 "Failed to create the installer with DMD" 
     107    chmod 0755 tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix-withDMD.sh 
    103108fi 
    104109