File: rules

package info (click to toggle)
gosu 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 144 kB
  • ctags: 8
  • sloc: sh: 42; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (5)
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