diff options
Diffstat (limited to 'grype/debian/rules')
-rwxr-xr-x | grype/debian/rules | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/grype/debian/rules b/grype/debian/rules new file mode 100755 index 0000000..4434037 --- /dev/null +++ b/grype/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +include /usr/share/dpkg/pkg-info.mk +%: + dh $@ + +override_dh_auto_configure: + +override_dh_auto_build: + make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/grype + +override_dh_auto_install: + install -d $$(pwd)/debian/tmp/usr/bin/ + install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/grype $$(pwd)/debian/tmp/usr/bin/grype + +override_dh_auto_clean: + make VERSION=$(DEB_VERSION_UPSTREAM) clean |