From 21269a845f0ee04fcf1e7b7aea8eabe4b3c97a70 Mon Sep 17 00:00:00 2001 From: Henry Graham Date: Mon, 23 Apr 2012 19:17:01 -0400 Subject: [PATCH] debian packaging --- Makefile | 13 ++++++++++--- packaging/debian/rules | 0 2 files changed, 10 insertions(+), 3 deletions(-) mode change 100644 => 100755 packaging/debian/rules diff --git a/Makefile b/Makefile index 7bb7b2ab39e..b685863def2 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,9 @@ clean: rm -rf test/test_data @echo "Cleaning up RPM building stuff" rm -rf MANIFEST rpm-build + @echo "Cleaning up Debian building stuff" + rm -rf debian + rm -rf deb-build python: python setup.py build @@ -126,9 +129,13 @@ rpm: rpmcommon @echo " rpm-build/noarch/$(RPMNVR).noarch.rpm" @echo "#############################################" -debian: - # stub target, FIXME! - (cd packaging/debian; dpkg-buildpackage -us -uc -rfakeroot) +debian: sdist +deb: debian + cp -r packaging/debian ./ + chmod 755 debian/rules + fakeroot debian/rules clean + fakeroot dh_install + fakeroot debian/rules binary # for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory diff --git a/packaging/debian/rules b/packaging/debian/rules old mode 100644 new mode 100755