]> Git repositories of Nishi - tewi.git/commitdiff
add src-archive master
authorNishi <nishi@nishi.boats>
Wed, 16 Oct 2024 10:49:46 +0000 (10:49 +0000)
committerNishi <nishi@nishi.boats>
Wed, 16 Oct 2024 10:49:46 +0000 (10:49 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@358 8739d7e6-ffea-ec47-b151-bdff447c6205

Makefile
README
README.tmpl

index bddd35e95a4dbf008b4ba2a6aaa593365a675899..f16d3dd8c5cb50c7b96caa404b149914fca4f9c9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,16 @@ include Platform/$(PLATFORM).mk
 
 FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
 
 
 FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
 
-.PHONY: all format clean ./Server ./Common ./Module get-version
+.PHONY: all format clean ./Server ./Common ./Module get-version src-archive
 
 all: ./Server $(MODULE)
 
 
 all: ./Server $(MODULE)
 
+src-archive: clean
+       @svn cleanup --remove-unversioned
+       cp -rf . /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`
+       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'`
+       mv /tmp/tewi-`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`.tar.gz ./
+
 ./Tool/option: ./Tool/option.c config.h
        cc -o $@ ./Tool/option.c
 
 ./Tool/option: ./Tool/option.c config.h
        cc -o $@ ./Tool/option.c
 
diff --git a/README b/README
index 43869953589a3a3f44f15dc42d2f06149360fb40..ec6a1b414fc2b8b3410fadd222972027be1ef861 100644 (file)
--- a/README
+++ b/README
@@ -4,7 +4,8 @@ Tewi HTTPd version 2.04
 Original by Nishi <nishi@nishi.boats>
 
 All documentations for Tewi HTTPd will be able to be found on-line at
 Original by Nishi <nishi@nishi.boats>
 
 All documentations for Tewi HTTPd will be able to be found on-line at
-https://trac.nishi.boats/tewi
+1. https://pnsk-lab.github.io/tewi
+2. https://trac.nishi.boats/tewi
 
 Distribution Contents
 -------------------------------
 
 Distribution Contents
 -------------------------------
index b38a8f3e9b2addf71f3e24946da04184a782d6f5..300843bd6876f1e04831340296dd29fd29b15067 100644 (file)
@@ -4,7 +4,8 @@ Tewi HTTPd version @VERSION@
 Original by Nishi <nishi@nishi.boats>
 
 All documentations for Tewi HTTPd will be able to be found on-line at
 Original by Nishi <nishi@nishi.boats>
 
 All documentations for Tewi HTTPd will be able to be found on-line at
-https://trac.nishi.boats/tewi
+1. https://pnsk-lab.github.io/tewi
+2. https://trac.nishi.boats/tewi
 
 Distribution Contents
 -------------------------------
 
 Distribution Contents
 -------------------------------