From 52f3744ec2b709791ad062e2668aea2fef5ae43e Mon Sep 17 00:00:00 2001 From: nima Date: Mon, 12 Jan 2009 13:04:52 +0000 Subject: Removed Debian-specific targets from the makefile. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@167 abc39116-655e-4be6-ad55-d661dc543056 --- Makefile | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/Makefile b/Makefile index a85a2ee..eb7fa66 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ vpath %.c $(SRC_D) vpath %.h $(SRC_D) vpath % $(OBJ_D) + ############################################################################### build: $(PY)-dmidecode.so $(PY)-dmidecode.so: $(SO) @@ -57,35 +58,6 @@ clean : -$(RM) *.so lib/*.o core -rm -rf build .dpkg -############################################################################### -#. Debian -all: source binary - -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@src.autonomy.net.au:/var/www/nima/sites/src.autonomy.net.au/pub/$(PACKAGE)/ -orig.tar.gz: ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz -../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz: clean . - cd .. && tar czvf tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz \ - --exclude "*.svn" \ - --exclude debian \ - --exclude redhat \ - --exclude private \ - $(PACKAGE)-$(VERSION) - touch $@ - -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: debian source - cd ../sources && dupload -t mentors $(PACKAGE)_$(VERSION)-1_source.changes - ############################################################################### libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o $(CC) $(LDFLAGS) $(SOFLAGS) $^ -o $@ -- cgit