Skip to content

Commit 52f3744

Browse files
author
nima
committed
Removed Debian-specific targets from the makefile.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@167 abc39116-655e-4be6-ad55-d661dc543056
1 parent f5223b6 commit 52f3744

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

Makefile

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ vpath %.c $(SRC_D)
3636
vpath %.h $(SRC_D)
3737
vpath % $(OBJ_D)
3838

39+
3940
###############################################################################
4041
build: $(PY)-dmidecode.so
4142
$(PY)-dmidecode.so: $(SO)
@@ -57,35 +58,6 @@ clean :
5758
-$(RM) *.so lib/*.o core
5859
-rm -rf build .dpkg
5960

60-
###############################################################################
61-
#. Debian
62-
all: source binary
63-
64-
source: debian orig.tar.gz
65-
cp ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz ../$(PACKAGE)_$(VERSION).orig.tar.gz
66-
debuild -S -sa -i
67-
mv ../$(PACKAGE)_$(VERSION)* ../sources
68-
lintian --verbose -iI ../sources/$(PACKAGE)_$(VERSION)-1_source.changes
69-
scp ../sources/$(PACKAGE)_$(VERSION).orig.tar.gz nima@src.autonomy.net.au:/var/www/nima/sites/src.autonomy.net.au/pub/$(PACKAGE)/
70-
orig.tar.gz: ../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz
71-
../tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz: clean .
72-
cd .. && tar czvf tarballs/$(PACKAGE)_$(VERSION).orig.tar.gz \
73-
--exclude "*.svn" \
74-
--exclude debian \
75-
--exclude redhat \
76-
--exclude private \
77-
$(PACKAGE)-$(VERSION)
78-
touch $@
79-
80-
binary: debian orig.tar.gz
81-
-rm ../build-area/$(PACKAGE)_$(VERSION)*
82-
svn-buildpackage --svn-ignore-new -us -uc -rfakeroot -enima@it.net.au
83-
lintian --verbose -c ../build-area/$(PACKAGE)_$(VERSION)-1_i386.deb
84-
lintian --verbose -iI ../build-area/$(PACKAGE)_$(VERSION)-1_i386.changes
85-
86-
dupload: debian source
87-
cd ../sources && dupload -t mentors $(PACKAGE)_$(VERSION)-1_source.changes
88-
8961
###############################################################################
9062
libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o
9163
$(CC) $(LDFLAGS) $(SOFLAGS) $^ -o $@

0 commit comments

Comments
 (0)