File: rules

package info (click to toggle)
golang-github-lunny-log 0.0~git20160921.0.7887c61-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 100 kB
  • sloc: makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

PREFIX = debian/golang-github-lunny-log-dev/usr/share/gocode/src/github.com/lunny

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

override_dh_auto_install:
	dh_auto_install
	# Tests produce a test file that is not reproducible:
	#   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859256
	rm -rf $(PREFIX)/log/logs/ $(PREFIX)/log/log.db