summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-21 02:22:20 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-21 02:22:20 +0000
commit0c05fe155d2c92451713dc36013f2d2a276a2a84 (patch)
treecc3994c5fc0840b839d82636cabbaf6d1871997a
parent558f9ab291dbbb46e5228f5d87e3d27657cd15f3 (diff)
downloadpython-dmidecode-0c05fe155d2c92451713dc36013f2d2a276a2a84.tar.gz
python-dmidecode-0c05fe155d2c92451713dc36013f2d2a276a2a84.tar.xz
python-dmidecode-0c05fe155d2c92451713dc36013f2d2a276a2a84.zip
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@147 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile9
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules3
3 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 321c092..b4ce000 100644
--- a/Makefile
+++ b/Makefile
@@ -46,20 +46,21 @@ $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: ../$(PACKAGE)_$(VERSION)
cp $< $@
.src: ../$(PACKAGE)_$(VERSION).orig.tar.gz
-../$(PACKAGE)_$(VERSION).orig.tar.gz: .
+../$(PACKAGE)_$(VERSION).orig.tar.gz: clean .
+ dh_clean
cd .. && tar czvf $(PACKAGE)_$(VERSION).orig.tar.gz \
- --exclude .svn \
+ --exclude "*.svn" \
--exclude debian \
--exclude makefile \
--exclude BUILD.Linux \
--exclude private \
$(PACKAGE)
-.dpkg: debian
+.dpkg: debian .src
dpkg-buildpackage -us -uc -rfakeroot -enima@it.net.au
lintian --verbose -c ../$(PACKAGE)_$(VERSION)-1_i386.deb
lintian --verbose -iI ../$(PACKAGE)_$(VERSION)-1_i386.changes
- touch $<
+ touch $@
$(SO):
$(PY) src/setup.py build
diff --git a/debian/control b/debian/control
index 7c8e64e..3344184 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
Source: python-dmidecode
-XS-Python-Version: (>= 2.3)
+XS-Python-Version: >= 2.3
Section: utils
Priority: optional
Maintainer: Nima Talebi <nima@it.net.au>
diff --git a/debian/rules b/debian/rules
index de26398..65d8e77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
-export DH_ALWAYS_EXCLUDE=.svn
PYDEF = $(shell pyversions -d)
PYVERS = $(shell pyversions -r)
@@ -39,7 +38,7 @@ clean:
dh_testroot
-rm -f build-stamp configure-stamp
-rm -rf $(CURDIR)/debian/python-dmidecode
- -$(MAKE) -f Makefile clean
+ $(MAKE) -f Makefile clean
dh_clean