File: rules

package info (click to toggle)
gosu 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 156 kB
  • sloc: sh: 110; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

override_dh_auto_install:
	dh_auto_install
	
	# we don't want the golang source (yet?)
	rm -r debian/gosu/usr/share/gocode
	
	# also, the binary needs to go into sbin, not bin
	test -d debian/gosu/usr/bin -a ! -d debian/gosu/usr/sbin
	mv debian/gosu/usr/bin debian/gosu/usr/sbin

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