]> git.proxmox.com Git - pathpatterns.git/commitdiff
buildsys: add dsc target
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 24 Aug 2023 08:00:38 +0000 (10:00 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 24 Aug 2023 08:00:38 +0000 (10:00 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile

index b70bde079807d1533f3a1ee57e6182d558093948..1ab2dcd85ac9aa2ba4057067b3498ce4c526e1f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,14 @@ deb: build
        (cd build/pathpatterns && CARGO=/usr/bin/cargo RUSTC=/usr/bin/rustc dpkg-buildpackage -b -uc -us)
        lintian build/*.deb
 
+.PHONY: dsc
+dsc: build
+       (cd build/pathpatterns && CARGO=/usr/bin/cargo RUSTC=/usr/bin/rustc dpkg-buildpackage -S -uc -us)
+       lintian build/*.dsc
+
 .PHONY: clean
 clean:
-       rm -rf build *.deb *.buildinfo *.changes *.orig.tar.gz
+       rm -rf build *.deb *.dsc *.buildinfo *.changes *.orig.tar.gz
        cargo clean
 
 upload: deb