1 # Shortcut for common operations:
3 CRATES
=perlmod perlmod-macro
5 # By default we just run checks:
10 deb
: $(foreach c
,$(CRATES
), $c-deb
)
11 echo
$(foreach c
,$(CRATES
), $c-deb
)
18 sudo
-k dpkg
-i build
/librust-
*.deb
24 builddeps
: $(foreach c
,$(CRATES
), $c-builddeps
)
26 BUILDCMD
="mk-build-deps" .
/build.sh
$*
32 # Prints a diff between the current code and the one rustfmt would produce
35 cargo
+nightly fmt
-- --check
37 # Doc without dependencies
53 dcmd
--deb rust-
$*_
*.changes \
54 | grep
-v
'.changes$$' \
56 | ssh
-X repoman@repo.proxmox.com upload
--product devel
--dist bullseye