File: rules

package info (click to toggle)
hub 2.14.2~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,376 kB
  • sloc: sh: 1,049; ruby: 857; makefile: 89
file content (15 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := fixtures/

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

execute_after_dh_auto_build:
	mkdir -p bin
	cp -av _build/bin/hub bin/hub
	mv -v _build/bin/md2roff-bin bin/md2roff
	$(MAKE) man-pages

override_dh_auto_install:
	dh_auto_install -- --no-source