summaryrefslogtreecommitdiff
path: root/rules
blob: b610a2d7f7a187b34e7b512e80793bc70996175d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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
build build-indep: debian/mkosi.1
	dh $@ --with python3 --buildsystem=pybuild

debian/mkosi.1:
	help2man --name "Create legacy-free OS images" \
		--version-string "mkosi $(DEB_VERSION_UPSTREAM)" \
		--no-info \
		-o debian/mkosi.1 \
		./mkosi

.PHONY: build