summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 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