diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-01-11 09:54:35 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-01-11 09:54:35 +0300 |
commit | f7bc2e1560c2bbbd899b22a54837f09ccb582609 (patch) | |
tree | 4332e6de3324a18ffc690a28f39b33c76333fea7 /auto/make | |
parent | 2fa203f2da32449dec9886e01dee1a4d85ce1e90 (diff) | |
download | unit-f7bc2e1560c2bbbd899b22a54837f09ccb582609.tar.gz unit-f7bc2e1560c2bbbd899b22a54837f09ccb582609.tar.bz2 |
Using hg archive instead of copying to make distribution tarball.
Diffstat (limited to 'auto/make')
-rw-r--r-- | auto/make | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -245,11 +245,8 @@ clean: .PHONY: dist dist: rm -f unit-\$(NXT_VERSION).tar.gz - mkdir unit-\$(NXT_VERSION) - cp -rp LICENSE NOTICE CHANGES README \\ - configure auto src test \\ - unit-\$(NXT_VERSION) - tar czf unit-\$(NXT_VERSION).tar.gz unit-\$(NXT_VERSION) - rm -rf unit-\$(NXT_VERSION) + hg archive unit-\$(NXT_VERSION).tar.gz \\ + -p unit-\$(NXT_VERSION) \\ + -X ".hg*" -X "pkg/" -X "docs/" END |