diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 19:23:50 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 19:23:50 +0300 |
commit | 89df39374c69f893570fa64755f9b91200903542 (patch) | |
tree | a17eb811d2a60af91475fddad0516d9dae1bbe8a /auto | |
parent | 26dfd4da97c09e68a8101aa7e6b4f4c3515f794f (diff) | |
download | unit-89df39374c69f893570fa64755f9b91200903542.tar.gz unit-89df39374c69f893570fa64755f9b91200903542.tar.bz2 |
Added the dist target in Makefile.
Diffstat (limited to '')
-rw-r--r-- | auto/make | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |