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
22 rm -rf build
/perlmod-bin-deb
23 git archive
--format
=tar HEAD perlmod-bin |
tar -C build
-xf
-
24 cd build
/perlmod-bin
&& dpkg-buildpackage
--no-sign
-b
30 builddeps
: $(foreach c
,$(CRATES
), $c-builddeps
)
32 BUILDCMD
="mk-build-deps" .
/build.sh
$*
38 perl
test.pl
>out.
test
39 if diff
-up out.
test test.pl.expected
; then
rm out.
test; \
40 else echo
"Test output mismatch between out.test and test.pl.expected"; fi
42 # Prints a diff between the current code and the one rustfmt would produce
45 cargo
+nightly fmt
-- --check
47 # Doc without dependencies
63 dcmd
--deb .
/*$*_
*.changes \
64 | grep
-v
'.changes$$' \
66 | ssh
-X repoman@repo.proxmox.com upload
--product devel
--dist bookworm