summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-20 01:46:42 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-20 01:46:42 +0000
commit6d5ebf5d39e419e2f83960223bf840275426dc87 (patch)
treeba64f03bf73cc6c102c00e4ccace3bf2e86e0fbd
parent8626bbd2cfcb10109cfa85b8d7ef99898e6f7771 (diff)
downloadpython-dmidecode-6d5ebf5d39e419e2f83960223bf840275426dc87.tar.gz
python-dmidecode-6d5ebf5d39e419e2f83960223bf840275426dc87.tar.xz
python-dmidecode-6d5ebf5d39e419e2f83960223bf840275426dc87.zip
Debian specific target.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@134 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c1a572..01f501e 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,10 @@ build: dmidecode.so
dmidecode.so: $(SO)
cp $< $(PY)-$@
+.dpkg: debian
+ dpkg-buildpackage -us -uc -rfakeroot -enima@it.net.au
+ touch $<
+
$(SO):
$(PY) src/setup.py build
@@ -69,6 +73,6 @@ uninstall:
clean :
$(PY) src/setup.py clean
-$(RM) *.so lib/*.o core
- -rm -rf build
+ -rm -rf build .dpkg
.PHONY: install clean uninstall module build