]> git.proxmox.com Git - pve-firewall.git/commitdiff
buildsys: add dsc target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 31 Mar 2019 13:43:40 +0000 (15:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 31 Mar 2019 13:43:40 +0000 (15:43 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/control
debian/source/format [new file with mode: 0644]

index f35f1a9ddda41d0d3ba6d7a3beaa0b7a58464788..7004229db1ac4804c038e6a32a628320d85c517e 100644 (file)
--- 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)
index e3aa5448832fbecbe3459e83ad975367d63805ea..e4cebfa57953e797c3f11a4fe45ac3009e90e789 100644 (file)
@@ -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 (file)
index 0000000..d3827e7
--- /dev/null
@@ -0,0 +1 @@
+1.0