summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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