root/branches/dsss-dmd/latest/install-linux.bat

Revision 734, 0.8 kB (checked in by ChristianK, 1 year ago)

dsss-dmd: updated to 1.020, working on issues with windows installation

  • Property svn:executable set to *
Line 
1 #!/bin/bash
2
3 # we assume everything is good, errors would've been catched by fetch
4
5 # chmod some things
6 chmod 0755 dmd/bin/dmd dmd/bin/dumpobj dmd/bin/obj2asm dmd/bin/rdmd
7
8 # Install
9 echo "install dmd/bin/dmd $BIN_PREFIX;"
10 echo "install dmd/bin/dumpobj $BIN_PREFIX;"
11 echo "install dmd/bin/obj2asm $BIN_PREFIX;"
12 echo "install dmd/bin/rdmd $BIN_PREFIX;"
13
14 echo '[Environment]
15 DFLAGS=-I'$INCLUDE_PREFIX' -I'$INCLUDE_PREFIX'/phobos-dmd -L-L'$LIB_PREFIX > dmd.conf || exit 1
16 echo "install dmd.conf $BIN_PREFIX;"
17
18 mv dmd/src/phobos dmd/src/phobos-dmd
19 # BUG: even though the folder ends up in the manifest, it isn't removed on uninstall
20 echo "install dmd/src/phobos-dmd $INCLUDE_PREFIX;"
21
22 # workaround with something like this?
23 # find dmd/src/phobos -type f -exec echo "install {} $INCLUDE_PREFIX/phobos-dmd;" \;
24
25 echo "install dmd/lib/libphobos.a $LIB_PREFIX"
26
Note: See TracBrowser for help on using the browser.