File: rules

package info (click to toggle)
distrobuilder 3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,468 kB
  • sloc: sh: 204; makefile: 75
file content (16 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DH_GOLANG_INSTALL_EXTRA := distrobuilder/lxc.generator

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

execute_after_dh_auto_build:
	# Autogenerate a man page
	mkdir man1/
	TZ=UTC HOME="~" help2man _build/bin/distrobuilder -n "System container image builder" --no-info --no-discard-stderr --version-string=$(DEB_VERSION_UPSTREAM) > man1/distrobuilder.1

override_dh_auto_install:
	dh_auto_install -- --no-source