File: rules

package info (click to toggle)
golang-golang-x-sys 0.0~git20160517.0.d4feaf1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 4,356 kB
  • sloc: perl: 1,152; sh: 670; asm: 332; ansic: 37; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 712 bytes parent folder | download
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_GOPKG := golang.org/x/sys
# So that .s files (assembler) are installed.
export DH_GOLANG_INSTALL_ALL := 1

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

DESTDIR = debian/golang-golang-x-sys-dev/usr/share/gocode/src/golang.org/x/sys
override_dh_auto_install:
	dh_auto_install $@
	rm -f $(DESTDIR)/plan9/*.sh $(DESTDIR)/plan9/*.pl \
            $(DESTDIR)/unix/*.sh $(DESTDIR)/unix/*.pl \
            $(DESTDIR)/LICENSE $(DESTDIR)/AUTHORS $(DESTDIR)/PATENTS \
            $(DESTDIR)/README $(DESTDIR)/CONTRIBUTORS \
            $(DESTDIR)/CONTRIBUTING.md $(DESTDIR)/codereview.cfg \
            $(DESTDIR)/.gitattributes $(DESTDIR)/.gitignore \
            $(DESTDIR)/unix/.gitignore