From 89df39374c69f893570fa64755f9b91200903542 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 6 Sep 2017 19:23:50 +0300 Subject: Added the dist target in Makefile. --- auto/make | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'auto/make') 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 -- cgit