| 1 |
|
| 2 |
|
| 3 |
UPSTREAM_GIT = https://github.com/coreos/discovery.etcd.io |
| 4 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --buildsystem=golang --with=golang |
| 8 |
|
| 9 |
override_dh_auto_clean: |
| 10 |
dh_auto_clean |
| 11 |
rm -f debian/etcd-discovery.init debian/etcd-discovery.service debian/etcd-discovery.postinst |
| 12 |
|
| 13 |
override_dh_auto_build: |
| 14 |
/usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func etcd-discovery.postinst |
| 15 |
dh_auto_build |
| 16 |
|
| 17 |
override_dh_auto_install: |
| 18 |
dh_auto_install |
| 19 |
rm $(CURDIR)/debian/*/usr/bin/dev |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
override_dh_auto_test: |
| 25 |
|
| 26 |
override_dh_dwz: |
| 27 |
DEB_BUILD_OPTIONS=nostrip dh_dwz |