| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
execute_before_dh_auto_configure: |
| 6 |
rm -rf \ |
| 7 |
vendor/github.com/xrash \ |
| 8 |
vendor/github.com/cpuguy83 \ |
| 9 |
vendor/github.com/lucasb-eyer \ |
| 10 |
vendor/github.com/urfave \ |
| 11 |
vendor/github.com/russross |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ --buildsystem=golang --with=golang |
| 15 |
|
| 16 |
execute_before_dh_auto_test: |
| 17 |
mkdir -v obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/xyproto/png2svg/img |
| 18 |
cp -v img/rainforest.png obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/xyproto/png2svg/img |
| 19 |
|
| 20 |
override_dh_auto_install: |
| 21 |
dh_auto_install -- --no-source |