Subversion Repositories Tewi

Rev

Rev 396 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 396 Rev 397
Line 1... Line 1...
1
# $Id: Makefile 396 2024-10-28 00:01:38Z nishi $
1
# $Id: Makefile 397 2024-10-28 00:02:35Z 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-*
-
 
26
	mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./
25
	mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./
-
 
26
	rm -rf /tmp/tewi-*
27
 
27
 
28
./Tool/option: ./Tool/option.c config.h prepare-config
28
./Tool/option: ./Tool/option.c config.h prepare-config
29
	cc -o $@ ./Tool/option.c
29
	cc -o $@ ./Tool/option.c
30
 
30
 
31
./Tool/genconf: ./Tool/genconf.c config.h prepare-config
31
./Tool/genconf: ./Tool/genconf.c config.h prepare-config