File: rules

package info (click to toggle)
ffcvt 1.7.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 368 kB
  • sloc: sh: 27; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := test

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_build:
	dh_auto_build
	ronn ffcvt.1.ronn

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test --verbose
	cd obj-$(DEB_TARGET_GNU_TYPE)/src/github.com/suntong/ffcvt/test && ./test-all.sh
endif

override_dh_clean:
	rm -f ffcvt.1 ffcvt.1.html
	dh_clean

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