File: rules

package info (click to toggle)
golang-github-go-jose-go-jose 4.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,064 kB
  • sloc: makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)

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

execute_before_dh_installman:
	txt2man -s 1 -v "jose-util" -t "jose-util" \
	-r "$(VERSION)" -d "$(DEBDATE)" debian/manpage/jose-util.txt > debian/manpage/jose-util.1

override_dh_auto_test:
	dh_auto_test -- -timeout=1h