File: rules

package info (click to toggle)
mkosi 4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 260 kB
  • sloc: python: 2,687; makefile: 11; sh: 9
file content (19 lines) | stat: -rwxr-xr-x 417 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_VERBOSE = 1

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

export PYBUILD_NAME=mkosi

%:
	dh $@ --with python3 --buildsystem=pybuild

# need explicit target to be able to mark as phony
override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	help2man --name "Create legacy-free OS images" \
		--version-string "mkosi $(DEB_VERSION_UPSTREAM)" \
		--no-info \
		-o debian/mkosi.1 \
		./mkosi