summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2008-07-08 12:12:42 +0100
committerTony Garnock-Jones <tonyg@lshift.net>2008-07-08 12:12:42 +0100
commitf07b581df9e25cc5ba1960286a646efcb0461bad (patch)
treeb1e131d8c312e08a5292eb1850d6877d0fa60903
parent675869a27714307bce377638dfe8f6a5f069e757 (diff)
downloadrabbitmq-server-f07b581df9e25cc5ba1960286a646efcb0461bad.tar.gz
Avoid copying the codegen directory's .hg dir when building a source dist.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 680003cf..a32a89ea 100644
--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,8 @@ generic_stage:
srcdist: distclean
$(MAKE) VERSION=$(VERSION) GENERIC_STAGE_DIR=dist/$(TARBALL_NAME) generic_stage
- cp -r $(AMQP_CODEGEN_DIR) dist/$(TARBALL_NAME)/codegen
+ mkdir -p dist/$(TARBALL_NAME)/codegen
+ cp -r $(AMQP_CODEGEN_DIR)/* dist/$(TARBALL_NAME)/codegen/.
cp codegen.py Makefile dist/$(TARBALL_NAME)
cp -r scripts dist/$(TARBALL_NAME)