File: rules

package info (click to toggle)
golang-github-hanwen-go-fuse 0.0~git20190214.58dcd77-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,076 kB
  • sloc: cpp: 78; sh: 77; makefile: 16
file content (19 lines) | stat: -rwxr-xr-x 687 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := example test
export DH_GOLANG_INSTALL_EXTRA := benchmark/Makefile benchmark/testpaths.txt \
	benchmark/testpaths.txt zipfs/test.zip

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

# The .gitignore files should probably not be in the .orig.tar.xz tarball
# anyway, but in case they are, we'll make sure we delete the .gitignore
# files
override_dh_auto_install:
	dh_auto_install -O--buildsystem=golang
	rm -rf debian/golang-github-hanwen-go-fuse-dev/usr/bin
	rm -rf debian/golang-github-hanwen-go-fuse-dev/usr/share/gocode/src/github.com/hanwen/go-fuse/example

override_dh_auto_test:
	# Can't test on autobuilders, so don't run the tests.