summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hgignore17
-rw-r--r--Makefile3
2 files changed, 19 insertions, 1 deletions
diff --git a/.hgignore b/.hgignore
new file mode 100644
index 00000000..0781e32f
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,17 @@
+syntax: glob
+*.beam
+*~
+erl_crash.dump
+
+syntax: regexp
+^cover/
+^dist/
+^include/rabbit_framing.hrl$
+^src/rabbit_framing.erl$
+^rabbit.plt$
+
+^packaging/RPMS/Fedora/(BUILD|RPMS|SOURCES|SPECS|SRPMS)$
+^packaging/debs/Debian/rabbitmq-server_.*\.(dsc|tar\.gz|deb|changes)$
+^packaging/debs/apt-repository/debian$
+^packaging/generic-unix/rabbitmq-server-generic-unix-.*\.tar\.gz$
+^packaging/windows/rabbitmq-server-windows-.*\.zip$
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)