forked from TrueCloudLab/frostfs-contract
Dmitriy Zabolotskiy
0ba830f48f
Debian package contains compiled contracts and manifests with corresponding directories, which will be placed into /var/lib/neofs/contract for further usage. Depends on neo-go package to build. Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
20 lines
439 B
Makefile
Executable file
20 lines
439 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
SERVICE = frostfs-contract
|
|
export NEOGO ?= $(shell command -v neo-go)
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
|
|
make all
|
|
|
|
override_dh_auto_install:
|
|
install -D -m 0750 -d debian/$(SERVICE)/var/lib/frostfs/contract
|
|
find . -maxdepth 2 \( -name '*.nef' -o -name 'config.json' \) -exec cp --parents \{\} debian/$(SERVICE)/var/lib/frostfs/contract \;
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs -k CHANGELOG.md
|
|
|
|
|