Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Don't build the examples or "gen" utility
4 export DH_GOLANG_EXCLUDES := example internal/testutil/gen
5
6 # Include necessary test data
7 export DH_GOLANG_INSTALL_EXTRA := example/server/exampleop/templates example/server/service-key1.pem pkg/oidc/regression_data pkg/op/form_post.html.tmpl
8
9 # Because other tests rely on templates under the example/ directory, change the default to include all source in the resulting package
10 export DH_GOLANG_EXCLUDES_ALL := 0
11
12 %:
13 dh $@ --builddirectory=_build --buildsystem=golang --with=golang