Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 include /usr/share/dpkg/pkg-info.mk
3
4 %:
5 dh $@ --builddirectory=_build --buildsystem=golang
6
7 override_dh_auto_build:
8 dh_auto_build -- -ldflags="-w -s -X 'github.com/librespeed/speedtest-cli/defs.ProgVersion=v$(DEB_VERSION_UPSTREAM)' -X 'github.com/librespeed/speedtest-cli/defs.ProgName=librespeed-cli'"
9
10 override_dh_auto_install:
11 dh_auto_install -- --no-source
12
13 execute_after_dh_auto_install:
14 mv $(CURDIR)/debian/librespeed-cli/usr/bin/speedtest-cli $(CURDIR)/debian/librespeed-cli/usr/bin/librespeed-cli