Subversion Repositories Tewi

Rev

Rev 171 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 171 Rev 172
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: cygwin.sh 171 2024-09-26 20:30:20Z nishi $
2
# $Id: cygwin.sh 172 2024-09-26 20:45:59Z nishi $
-
 
3
rm -rf tewidist
3
make PREFIX=/cygdrive/c/Tewi DESTDIR=tewidist PLATFORM=cygwin install
4
make PREFIX=/cygdrive/c/Tewi DESTDIR=tewidist PLATFORM=cygwin install
-
 
5
cp -rfv tewidist/cygdrive/c/Tewi tewidist/Tewi
4
cp /usr/bin/cygwin1.dll tewidist/
6
cp /usr/bin/cygwin1.dll tewidist/Tewi/bin/
-
 
7
rm -rf tewidist/cygdrive
-
 
8
echo "@echo off" > tewidist/install.bat
-
 
9
echo "echo This installer will attempt to overwrite files." >> tewidist/install.bat
-
 
10
echo "echo Make sure you make backups." >> tewidist/install.bat
-
 
11
echo "pause" >> tewidist/install.bat
-
 
12
echo "xcopy /e Tewi C:\\Tewi" >> tewidist/install.bat
-
 
13
echo "echo Tewi HTTPd has been installed." >> tewidist/install.bat
-
 
14
echo "pause" >> tewidist/install.bat
-
 
15
echo "exit" >> tewidist/install.bat
-
 
16
unix2dos tewidist/install.bat
-
 
17
rm -f tewidist.zip
5
zip -rv tewidist.zip tewidist
18
zip -rv tewidist.zip tewidist
-
 
19
rm -rf tewidist