summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNima Talebi <nima@autonomy.net.au>2009-05-24 12:09:20 +1000
committerNima Talebi <nima@autonomy.net.au>2009-05-24 12:09:20 +1000
commit87fabb17f5e54f1db6c48baeb33d8445b55bfa2d (patch)
treebc6ebe36e6153f1239b37a401cb34e5b3285b97a
parent64d2c31c902439eb0e62471fe97086bf217e7926 (diff)
downloadpython-dmidecode-87fabb17f5e54f1db6c48baeb33d8445b55bfa2d.tar.gz
python-dmidecode-87fabb17f5e54f1db6c48baeb33d8445b55bfa2d.tar.xz
python-dmidecode-87fabb17f5e54f1db6c48baeb33d8445b55bfa2d.zip
Added new target `unit'
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 48f3132..c4e28e5 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,9 @@ rpm: tarball
cp $(PACKAGE)-$(VERSION).tar.gz rpm/SOURCES
rpmbuild -ba --define "_topdir $(shell pwd)/rpm" rpm/SPECS/$(PACKAGE).spec
+unit:
+ cd unit-tests && $(MAKE)
+
###############################################################################
libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o
$(CC) $(LDFLAGS) $(SOFLAGS) $^ -o $@