From 2c2e1442e8614dd5e623a5a3a0d518cf236c0cc3 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iusty@k1024.org>
Date: Sun, 13 May 2012 21:32:19 +0200
Subject: [PATCH] Adapt to new upstream build

---
 debian/control | 2 +-
 debian/docs    | 4 +---
 debian/rules   | 5 ++---
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 488063c..7d3815b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Iustin Pop <iustin@debian.org>
 Build-Depends: debhelper (>= 7),
  python (>= 2.6.2), python-all-dev (>= 2.6.2), python-all-dbg,
- python-support (>= 0.6), libacl1-dev, python-setuptools, python-epydoc
+ python-support (>= 0.6), libacl1-dev, python-setuptools, python-sphinx
 Standards-Version: 3.9.1
 Homepage: http://pylibacl.sourceforge.net/
 Vcs-Browser: http://git.k1024.org/debian-pylibacl.git
diff --git a/debian/docs b/debian/docs
index 7de3ddc..66d4f41 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,5 +1,3 @@
-IMPLEMENTATION
 NEWS
-PLATFORMS
 README
-html
+doc/html
diff --git a/debian/rules b/debian/rules
index 5beafce..af7a0c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,15 +25,14 @@ build-python%:
 	touch $@
 
 build-indep:
-	make doc
+	$(MAKE) doc
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-arch-stamp build-indep #CONFIGURE-STAMP#
-	rm -rf build html
-	rm -f posix1e.so
+	$(MAKE) clean
 	rm -f $(PYVERS:%=build-python%)
 	dh_clean
 
-- 
2.39.5