summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-01-12 13:04:52 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-01-12 13:04:52 +0000
commit52f3744ec2b709791ad062e2668aea2fef5ae43e (patch)
tree561c022dacfda4ec2e4990c6502ac660f27a12d6
parentf5223b667e367a522949b320e76be96b56199b5c (diff)
downloadpython-dmidecode-52f3744ec2b709791ad062e2668aea2fef5ae43e.tar.gz
python-dmidecode-52f3744ec2b709791ad062e2668aea2fef5ae43e.tar.xz
python-dmidecode-52f3744ec2b709791ad062e2668aea2fef5ae43e.zip
Removed Debian-specific targets from the makefile.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@167 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile30
1 files changed, 1 insertions, 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)
@@ -58,35 +59,6 @@ clean :
-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 $@