Commit a66ea398 authored by Ulrik Haugen's avatar Ulrik Haugen

Adapt debian-packages to packaging changes

parent a93c957c
......@@ -326,10 +326,10 @@ DPKG_BUILDPACKAGE_OPTIONS =
DEBIANCLIENTVERSION := $(subst -,.,$(CLIENTVERSION))
debian-packages: $(RELEASE-BASE-SRC).buildstamp
debian-packages: $(RELEASE-DIST-ARCHIVES)
cp -f $(PACKAGENAME)-src-$(CLIENTVERSION).tar.gz $(PACKAGENAME)_$(DEBIANCLIENTVERSION).orig.tar.gz
cp -R debian $(RELEASE-BASE-SRC)
$(RM) -rf $(RELEASE-BASE-SRC)/debian/CVS
sed '1s/(.*)/($(DEBIANCLIENTVERSION))/' <debian/changelog >$(RELEASE-BASE-SRC)/debian/changelog
sed '1s/(.*)/($(DEBIANCLIENTVERSION)-1)/' <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