File: rules

package info (click to toggle)
witr 0.2.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 736 kB
  • sloc: sh: 79; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_BUILDPKG := \
	github.com/pranshuparmar/witr/cmd/witr \
	github.com/pranshuparmar/witr/internal/tools/docgen

%:
	dh $@ --builddirectory=debian/build --buildsystem=golang

execute_after_dh_auto_build:
	debian/build/bin/docgen -format man
	rm -f debian/build/bin/docgen

override_dh_auto_install:
	dh_auto_install -- --no-source