Subversion Repositories Tewi

Rev

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

Rev 128 Rev 129
Line 1... Line 1...
1
# $Id: Makefile 128 2024-09-23 10:19:19Z nishi $
1
# $Id: Makefile 129 2024-09-23 10:21:20Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
PREFIX = /usr/local
5
PREFIX = /usr/local
6
 
6
 
Line 38... Line 38...
38
	cp ./Server/tewi $(PREFIX)/bin/
38
	cp ./Server/tewi $(PREFIX)/bin/
39
	cp ./Module/*.so $(PREFIX)/lib/tewi/
39
	cp ./Module/*.so $(PREFIX)/lib/tewi/
40
	cp ./Manpage/tewi.conf.5 $(PREFIX)/share/man/man5/
40
	cp ./Manpage/tewi.conf.5 $(PREFIX)/share/man/man5/
41
 
41
 
42
format:
42
format:
43
	clang-format --verbose -i `find ./Server ./Common ./Module "(" -name "*.c" -or -name "*.h" ")" -and -not -name "strptime.*"` config.h
43
	clang-format --verbose -i `find ./Server ./Common ./Module ./Tool "(" -name "*.c" -or -name "*.h" ")" -and -not -name "strptime.*"` config.h
44
 
44
 
45
get-version:
45
get-version:
46
	@grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed -E 's/^"//g'
46
	@grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed -E 's/^"//g'
47
 
47
 
48
clean:
48
clean: