File: rules

package info (click to toggle)
go-md2man 1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 84 kB
  • ctags: 43
  • sloc: sh: 41; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_GOPKG := github.com/cpuguy83/go-md2man
export DH_GOLANG_INSTALL_ALL := 1

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

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/go-md2man/usr/bin
	mv debian/tmp/usr/bin/go-md2man debian/go-md2man/usr/bin/
	mkdir -p debian/golang-go-md2man-dev/usr/share/gocode/src/$(dir $(DH_GOPKG))
	mv debian/tmp/usr/share/gocode/src/$(DH_GOPKG) debian/golang-go-md2man-dev/usr/share/gocode/src/$(dir $(DH_GOPKG))/