summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/make9
1 files changed, 3 insertions, 6 deletions
diff --git a/auto/make b/auto/make
index 12abd41c..477439d9 100644
--- a/auto/make
+++ b/auto/make
@@ -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