summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-22 13:37:43 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-22 13:37:43 +0000
commit25f310ab03c3010d89b0cafa989aeab94bcda58f (patch)
treeccd1b5462a13030e1d85c6162fce96959dab2bc0 /Makefile
parent915ed13f64903adda36446657d19e6bae02e3be2 (diff)
downloadpython-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.tar.gz
python-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.tar.xz
python-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.zip
Cleaned up the fix for type(127).
Added the second type of stuffed bios (upstream). Integrated dmidecode the binary into the test case for a more objective result. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@163 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 5fce0c3..62869c5 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ uninstall:
$(PY) src/setup.py uninstall
clean :
+ dh_clean
$(PY) src/setup.py clean
-$(RM) *.so lib/*.o core
-rm -rf build .dpkg
@@ -61,32 +62,30 @@ clean :
$(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: ../$(PACKAGE)_$(VERSION).orig.tar.gz
cp $< $@
-.orig.tar.gz: ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz
+orig.tar.gz: ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz
../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz: clean .
- dh_clean
cd .. && tar czvf tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz \
--exclude "*.svn" \
--exclude debian \
- --exclude makefile \
- --exclude BUILD.Linux \
+ --exclude redhat \
--exclude private \
$(PACKAGE)
touch $@
-.binary: debian .orig.tar.gz
+binary: debian orig.tar.gz
-rm ../build-area/$(PACKAGE)_$(VERSION)*
svn-buildpackage --svn-ignore-new -us -uc -rfakeroot -enima@it.net.au
lintian --verbose -c ../build-area/$(PACKAGE)_$(VERSION)-1_i386.deb
lintian --verbose -iI ../build-area/$(PACKAGE)_$(VERSION)-1_i386.changes
-.source: debian .orig.tar.gz
+source: debian orig.tar.gz
cp ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz ../$(PACKAGE)_$(VERSION).orig.tar.gz
debuild -S -sa -i
mv ../$(PACKAGE)_$(VERSION)* ../sources
lintian --verbose -iI ../sources/$(PACKAGE)_$(VERSION)-1_source.changes
scp ../sources/$(PACKAGE)_$(VERSION).orig.tar.gz nima@ntrust.net.au:/var/www/nima/sites/src.autonomy.net.au/pub/$(PACKAGE)/
-dupload: .source
+dupload: debian source
cd ../sources && dupload -t mentors $(PACKAGE)_$(VERSION)-1_source.changes
###############################################################################
@@ -112,4 +111,4 @@ $(OBJ_D)/dmioem.o: dmioem.c types.h dmidecode.h dmioem.h
###############################################################################
.PHONY: install clean uninstall module build dupload
-.PHONY: .binary .source
+.PHONY: binary source orig.tar.gz