synit/packaging/packages/synit-pid1/Makefile.external

9 lines
388 B
Makefile

# -*- makefile -*-
prepare:
rm -f synit-pid1.$(ARCH)
$(MAKE) -C ../../../synit-pid1 $(ARCH)-binary-release
cp -p ../../../synit-pid1/target/$(ARCH)-*/release/synit-pid1 synit-pid1.$(ARCH)
(cd ../../../synit-pid1 && cargo metadata --format-version 1) | \
preserves-tool convert --output-format unquoted \
--select '. "packages" / [. "name" = "synit-pid1"] . "version"' > VERSION