summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/make11
1 files changed, 11 insertions, 0 deletions
diff --git a/auto/make b/auto/make
index 742df11a..a50f64ea 100644
--- a/auto/make
+++ b/auto/make
@@ -239,6 +239,8 @@ END
cat << END > Makefile
+NXT_VERSION = 0.1
+
include $NXT_MAKEFILE
.PHONY: tests
@@ -247,4 +249,13 @@ tests: $NXT_BUILD_DIR/tests $NXT_BUILD_DIR/utf8_file_name_test
clean:
rm -rf $NXT_BUILD_DIR *.dSYM Makefile
+dist:
+ rm -f unit-\$(NXT_VERSION).tar.gz
+ mkdir unit-\$(NXT_VERSION)
+ cp -rp LICENSE NOTICE CHANGES README.md \\
+ configure auto src test \\
+ unit-\$(NXT_VERSION)
+ tar czf unit-\$(NXT_VERSION).tar.gz unit-\$(NXT_VERSION)
+ rm -rf unit-\$(NXT_VERSION)
+
END