Commit 69a96458 authored by Ulrik Haugen's avatar Ulrik Haugen

src Makefile: remove debianclientversionsuffix.

The debian source format i specified three years ago doesn't permit
version suffixes (at least now).
parent 740db1b9
......@@ -318,15 +318,10 @@ redhat-packages: $(PACKAGENAME)-src-$(CLIENTVERSION).tar.gz
######################################################################
# Debian packages
# Keeping the suffix in it's own variable lets you easily replace it
# from the commandline. This is useful when you're building a package
# just for your self and don't want it replaced by the package in the
# distribution. (make DEBIANCLIENTVERSIONSUFFIX=qha1 debian-packages).
DEBIANCLIENTVERSIONSUFFIX = 1
# and when you're the only one who'll use the package and you're not
# really the maintainer you might want to set this to something like
# '-us -uc' and perhaps -rfakeroot aswell.
# When you're building a package just for your self and you're not the
# maintainer you might want to set this to something like '-us -uc'
# and possibly '-rfakeroot'. (make DPKG_BUILDPACKAGE_OPTIONS='-us -uc'
# debian-packages)
DPKG_BUILDPACKAGE_OPTIONS =
DEBIANCLIENTVERSION := $(subst -,.,$(CLIENTVERSION))
......@@ -334,7 +329,7 @@ DEBIANCLIENTVERSION := $(subst -,.,$(CLIENTVERSION))
debian-packages: $(RELEASE-BASE-SRC).buildstamp
cp -R debian $(RELEASE-BASE-SRC)
$(RM) -rf $(RELEASE-BASE-SRC)/debian/CVS
sed '1s/(.*)/($(DEBIANCLIENTVERSION)-$(DEBIANCLIENTVERSIONSUFFIX))/' <debian/changelog >$(RELEASE-BASE-SRC)/debian/changelog
sed '1s/(.*)/($(DEBIANCLIENTVERSION))/' <debian/changelog >$(RELEASE-BASE-SRC)/debian/changelog
sed 's/@@CLIENTVERSION@@/$(CLIENTVERSION)/g' <debian/rules >$(RELEASE-BASE-SRC)/debian/rules
cd $(RELEASE-BASE-SRC) && dpkg-buildpackage $(DPKG_BUILDPACKAGE_OPTIONS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment