Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
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 # pkgos-gen-systemd-unit debian/golang-github-coreos-discovery-etcd-io.etcd-discovery.init.in
21 # mkdir -p debian/golang-github-coreos-discovery-etcd-io/lib/systemd/system
22 # cp debian/golang-github-coreos-discovery-etcd-io.etcd-discovery.service debian/golang-github-coreos-discovery-etcd-io/lib/systemd/system/etcd-discovery.service
23
24 override_dh_auto_test:
25
26 override_dh_dwz:
27 DEB_BUILD_OPTIONS=nostrip dh_dwz