Line 1... |
Line 1... |
1 |
# $Id: Makefile 387 2024-10-18 23:31:19Z nishi $
|
1 |
# $Id: Makefile 396 2024-10-28 00:01:38Z nishi $
|
2 |
|
2 |
|
3 |
PWD = `pwd`
|
3 |
PWD = `pwd`
|
4 |
PLATFORM = generic
|
4 |
PLATFORM = generic
|
5 |
PLATFORM_IDENT = NOT_WINDOWS
|
5 |
PLATFORM_IDENT = NOT_WINDOWS
|
6 |
PREFIX = /usr/local
|
6 |
PREFIX = /usr/local
|
Line 20... |
Line 20... |
20 |
|
20 |
|
21 |
src-archive: clean
|
21 |
src-archive: clean
|
22 |
@svn cleanup --remove-unversioned
|
22 |
@svn cleanup --remove-unversioned
|
23 |
cp -rf . /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`
|
23 |
cp -rf . /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`
|
24 |
cd /tmp && tar --exclude .github -czvf tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`
|
24 |
cd /tmp && tar --exclude .github -czvf tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz tewi-`grep "define TW_VERSION" tewi-*/Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`
|
- |
|
25 |
rm -rf /tmp/tewi-*
|
25 |
mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./
|
26 |
mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./
|
26 |
|
27 |
|
27 |
./Tool/option: ./Tool/option.c config.h prepare-config
|
28 |
./Tool/option: ./Tool/option.c config.h prepare-config
|
28 |
cc -o $@ ./Tool/option.c
|
29 |
cc -o $@ ./Tool/option.c
|
29 |
|
30 |
|