summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-21 10:04:03 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-21 10:04:03 +0000
commit66a38305dab867627657cd5f094d1d8bf2a51825 (patch)
treed586717c6ab39d4d1592394f3fb1c994e78509c4 /Makefile
parent8b39733bc2b67ba2b229cbe119d553a9247c77a2 (diff)
downloadpython-dmidecode-66a38305dab867627657cd5f094d1d8bf2a51825.tar.gz
python-dmidecode-66a38305dab867627657cd5f094d1d8bf2a51825.tar.xz
python-dmidecode-66a38305dab867627657cd5f094d1d8bf2a51825.zip
Remove README.Debian - no point.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@157 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 4dbacb6..91c212f 100644
--- a/Makefile
+++ b/Makefile
@@ -56,12 +56,12 @@ clean :
-rm -rf build .dpkg
###############################################################################
-#. Source
+#. Debian
.srcsrv: $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz
$(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: ../$(PACKAGE)_$(VERSION).orig.tar.gz
cp $< $@
-.src: ../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 \
@@ -71,26 +71,19 @@ $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: ../$(PACKAGE)_$(VERSION)
--exclude BUILD.Linux \
--exclude private \
$(PACKAGE)
+ touch $@
-
-
-###############################################################################
-#. Debian
-
-.dpkg: debian .src
+.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
-dupload:
- cd ../build-area/ && \
- gpg --clearsign python-dmidecode_2.10-1_i386.changes && \
- mv python-dmidecode_2.10-1_i386.changes.asc python-dmidecode_2.10-1_i386.changes && \
- dupload -t mentors python-dmidecode_2.10-1_i386.changes
- touch $@
-
-
+.source: debian .orig.tar.gz
+ cp ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz ../$(PACKAGE)_$(VERSION).orig.tar.gz
+ debuild -S -sa
+ mv ../$(PACKAGE)_$(VERSION)* ../sources
+ cd ../sources && dupload -t mentors $(PACKAGE)_$(VERSION)-1_source.changes
###############################################################################
libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o
@@ -115,3 +108,4 @@ $(OBJ_D)/dmioem.o: dmioem.c types.h dmidecode.h dmioem.h
###############################################################################
.PHONY: install clean uninstall module build dupload
+.PHONY: .binary .source