ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/tewi/psp.sh
Revision: 1.1
Committed: Thu Oct 17 09:53:38 2024 UTC (4 weeks, 1 day ago) by nishi
Content type: application/x-sh
Branch: MAIN
CVS Tags: v2_05A, v2_05, HEAD
Log Message:
update

File Contents

# User Rev Content
1 nishi 1.1 #!/bin/sh
2     # $Id: psp.sh 193 2024-09-29 05:55:18Z nishi $
3     export PSPDEV=/usr/local/pspdev
4     export PATH=$PATH:/usr/local/pspdev/bin
5     cat config.h.tmpl | sed -E 's/#undef (NO_SSL)/#define \1/g' > config.h
6     rm -rf httpd
7     make PLATFORM=psp DESTDIR=httpd/ install || exit 1
8     mv httpd/ms0:/PSP/GAME/httpd/* httpd/
9     rm -rf httpd/lib httpd/bin
10     rm -rf httpd/ms0:
11     cp Server/tewi.pbp httpd/EBOOT.PBP
12     echo "Tewi HTTPd $(make get-version) for PSP" > httpd/README
13     echo "========================" >> httpd/README
14     echo "To install, just copy this \`httpd' folder into your /PSP/GAME of the PSP memorystick." >> httpd/README
15     cat httpd/README
16     rm -f tewidist.zip
17     zip -rv tewidist.zip httpd
18     rm -rf httpd