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

16 lines
507 B
Makefile
Raw Normal View History

2022-07-23 12:47:44 +00:00
# -*- makefile -*-
2022-07-23 15:58:24 +00:00
prepare: miniclean
2022-07-23 12:47:44 +00:00
$(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
2022-07-25 14:45:41 +00:00
(cd ../../../synit-pid1; ../packaging/gitversion) > GITVERSION
2022-07-23 15:58:24 +00:00
miniclean:
rm -f synit-pid1.$(ARCH)
clean: miniclean
rm -f VERSION