File: rules

package info (click to toggle)
certspotter 0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 340 kB
  • sloc: makefile: 7
file content (19 lines) | stat: -rwxr-xr-x 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=golang --with=golang


override_dh_installchangelogs:
	dh_installchangelogs NEWS

# the source's root is a library that includes subdirectories that are
# sub-packages, such as "ct" (Google's CT code) and "cmd/certspotter" and
# "cmd/ctparsewatch" for the actual resulting binaries. We actually want to
# package mostly "cmd/certspotter" in this package and it's hard but pointless
# to package the library into a separate source/binary package.  Force the
# golang dh buildsystem to actually produce a "program", and forcibly exclude
# the binaries that which we don't want to ship (such as ctparsewatch).
override_dh_auto_install:
	dh_auto_install -- --no-source
	rm -f debian/certspotter/usr/bin/ctparsewatch