]> Nishi Git Mirror - tewi.git/commitdiff
clean
authorNishi <nishi@nishi.boats>
Mon, 28 Oct 2024 00:01:38 +0000 (00:01 +0000)
committerNishi <nishi@nishi.boats>
Mon, 28 Oct 2024 00:01:38 +0000 (00:01 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@396 8739d7e6-ffea-ec47-b151-bdff447c6205

Makefile

index 50b9398978f70a62a3cdcb409fafe401ca678519..fac632cb210b689360d8e1ba3a8b51180019492b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ 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'`
+       rm -rf /tmp/tewi-*
        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 prepare-config