From 6b1598c8b98699b115525155b43d19365e79dd08 Mon Sep 17 00:00:00 2001 From: Nima Talebi Date: Sat, 23 May 2009 23:02:46 +1000 Subject: Reimplementing the type() function - WIP --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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) -- cgit