From: Thomas Lamprecht Date: Sun, 31 Mar 2019 13:43:40 +0000 (+0200) Subject: buildsys: add dsc target X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=95ed90a9a8418173ab7cac2d0c1f6ddd04c376cc buildsys: add dsc target Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index f35f1a9..7004229 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb +DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc DEB2=${PACKAGE}-dbgsym_${VERSION}-${PKGREL}_${ARCH}.deb DEBS=$(DEB) $(DEB2) @@ -30,6 +31,12 @@ $(DEB): ${BUILDDIR} check cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc lintian ${DEBS} +.PHONY: dsc +dsc: ${DSC} +${DSC}: ${BUILDDIR} + cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc + lintian ${DSC} + .PHONY: check check: make -C test check @@ -39,7 +46,7 @@ distclean: clean clean: make -C src clean make -C test clean - rm -rf *~ debian/*~ example/*~ *.deb *.changes *.buildinfo ${BUILDDIR} ${PACKAGE}-*.tar.gz + rm -rf *~ debian/*~ example/*~ *.deb *.changes *.buildinfo ${BUILDDIR} ${PACKAGE}-*.tar.gz *.dsc .PHONY: upload upload: $(DEBS) diff --git a/debian/control b/debian/control index e3aa544..e4cebfa 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 10), libpve-common-perl, pve-cluster, pve-doc-generator (>= 5.3-3), -Standards-Version: 3.8.4 +Standards-Version: 3.9.8 Package: pve-firewall Architecture: any diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0