From cf941f0fbfadc7833b85bb1c8ea53f50da66a1d7 Mon Sep 17 00:00:00 2001
From: Seblu <sebastien.luttringer@smartjog.com>
Date: Wed, 13 Apr 2011 19:35:28 +0200
Subject: [PATCH] Update debian source format to 3.0 (native) and new buildd
 makefile rules

---
 Makefile             | 6 +++++-
 debian/source/format | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 debian/source/format

diff --git a/Makefile b/Makefile
index 800ce72..3016d1a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ all:
 
 tar: cleanbuild
 	git clone "." $(BUILD_DIR)/$(NAME)
-	-dpkg-source -I -b $(BUILD_DIR)/$(NAME)
+	-dpkg-source -Zbzip2 -I -b $(BUILD_DIR)/$(NAME)
 	-rm -rf  $(BUILD_DIR)
 
 deb: cleanbuild
@@ -20,6 +20,10 @@ deb: cleanbuild
 	mv -vf $(BUILD_DIR)/* .
 	-rm -rf $(BUILD_DIR)
 
+buildd: tar
+	chmod 644 $(NAME)_*.dsc $(NAME)_*.tar.bz2
+	scp $(NAME)_*.dsc $(NAME)_*.tar.bz2 incoming@buildd.fr.lan:squeeze
+
 clean: clean_build
 
 cleanbuild:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
-- 
GitLab