summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 17338879fb1c43685cfd17e03f435d9ee4bbc787 (plain)
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