diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
3 files changed, 7 insertions, 7 deletions
@@ -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 |