]> Nishi Git Mirror - mivfx.git/commitdiff
.
author諏訪子 <suwako@076.moe>
Sun, 7 Apr 2024 06:25:47 +0000 (15:25 +0900)
committer諏訪子 <suwako@076.moe>
Sun, 7 Apr 2024 06:25:47 +0000 (15:25 +0900)
Makefile

index 312310343450a4238cbbf902330c625aebc85a46..b5961e2456fc69fdf888745fca37706fc4eec6c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,13 @@ all:
 clean:
        rm -f ${NAME}
 
+dist: clean
+       mkdir -p ${NAME}-${VERSION}
+       cp -R LICENSE.txt Makefile README.md CHANGELOG.md\
+               *.c ${NAME}-${VERSION}
+       tar zcfv ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
+       rm -rf ${NAME}-${VERSION}
+
 install: all
        mkdir -p ${DESTDIR}${PREFIX}/bin
        cp -f ${NAME} ${DESTDIR}${PREFIX}/bin