From 0005d9f98cb72d01f081d6c4cbe4a588fd9d3926 Mon Sep 17 00:00:00 2001 From: nima Date: Sun, 21 Dec 2008 01:41:57 +0000 Subject: Fixed watchfile now that I've created a src (orig.tar.gz) repository. Added more copyright/lisencing information. More debianizing. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@145 abc39116-655e-4be6-ad55-d661dc543056 --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e443520..6fef677 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ VERSION := 2.10 PY := $(shell python -V 2>&1 |sed -e 's/.\(ython\) \(2\.[0-9]\)\..*/p\1\2/') PY_VER := $(subst python,,$(PY)) +PACKAGE := python-dmidecode +SRCSRV := /var/www/nima/sites/src.autonomy.net.au/pub CC := gcc RM := rm -f @@ -39,18 +41,20 @@ build: dmidecode.so dmidecode.so: $(SO) cp $< $(PY)-$@ -.src: - cd .. && tar czvf python-dmidecode_$(VERSION).orig.tar.gz \ +.src: $(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz +$(SRCSRV)/$(PACKAGE)/$(PACKAGE)_$(VERSION).orig.tar.gz: . + cd .. && tar czvf $@ \ --exclude .svn \ --exclude debian \ --exclude makefile \ --exclude BUILD.Linux \ --exclude private \ - python-dmidecode; - touch $@ + $(PACKAGE) .dpkg: debian dpkg-buildpackage -us -uc -rfakeroot -enima@it.net.au + lintian --verbose -c ../$(PACKAGE)_$(VERSION)-1_i386.deb + lintian --verbose -iI ../$(PACKAGE)_$(VERSION)-1_i386.changes touch $< $(SO): -- cgit