From 0c05fe155d2c92451713dc36013f2d2a276a2a84 Mon Sep 17 00:00:00 2001 From: nima Date: Sun, 21 Dec 2008 02:22:20 +0000 Subject: Cleanup. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@147 abc39116-655e-4be6-ad55-d661dc543056 --- Makefile | 9 +++++---- debian/control | 2 +- debian/rules | 3 +-- 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 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 -- cgit