Commit 4a1453e0 authored by Ulrik Haugen's avatar Ulrik Haugen

* Makefile (debian-packages): new target.

parent 6fcdf44b
2002-04-03 Ulrik Haugen <qha@lysator.liu.se>
* Makefile (debian-packages): new target.
2002-03-25 Joel Rosdahl <joel@lysator.liu.se>
* distribution-configure.in: Corrected help text for
......
......@@ -284,10 +284,23 @@ redhat-packages: $(PACKAGENAME)-src-$(CLIENTVERSION).tar.gz
>$(RPMROOT)/SPECS/$(PACKAGENAME)-$(REDHATCLIENTVERSION).spec
rpm -ba $(RPMROOT)/SPECS/$(PACKAGENAME)-$(REDHATCLIENTVERSION).spec
######################################################################
# Debian packages
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)-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
clean:
rm -f *~ *.gz *.zip *.buildstamp *.elc* _header.el $(TARGET-EL)
rm -rf $(PACKAGENAME)-*-$(CLIENTVERSION)* lyskom-*-$(CLIENTVERSION).el
rm -f vars.el vars.el-release
rm -f distribution-README-src distribution-README-nonsrc
.PHONY: all verbose verbose-el fast check release redhat-packages clean
.PHONY: all verbose verbose-el fast check release redhat-packages clean debian-packages
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