summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNima Talebi <nima@autonomy.net.au>2009-05-23 23:02:46 +1000
committerNima Talebi <nima@autonomy.net.au>2009-05-23 23:02:46 +1000
commit6b1598c8b98699b115525155b43d19365e79dd08 (patch)
tree347a2f697ae3def6297d1c8c5dc25568c56a9393 /Makefile
parent076bcc59efb4cb0cd0dd274d58f3706b2fd3aa13 (diff)
downloadpython-dmidecode-6b1598c8b98699b115525155b43d19365e79dd08.tar.gz
python-dmidecode-6b1598c8b98699b115525155b43d19365e79dd08.tar.xz
python-dmidecode-6b1598c8b98699b115525155b43d19365e79dd08.zip
Reimplementing the type() function - WIP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c1e46a7..1bd17b4 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,11 @@ vpath %.c $(SRC_D)
vpath %.h $(SRC_D)
vpath % $(OBJ_D)
+ifeq (0,1)
+TEMP:
+ sudo make install
+ sudo python -c 'import dmidecode; print "-"*80; print dmidecode.slot(); print "-"*80; print dmidecode.type(1)'
+endif
###############################################################################
build: $(PY)-dmidecode.so
@@ -57,6 +62,7 @@ clean :
$(PY) src/setup.py clean
-$(RM) *.so lib/*.o core
-rm -rf build .dpkg
+ cd unit-tests && $(MAKE) clean
tarball:
rm -rf $(PACKAGE)-$(VERSION)