File: rules

package info (click to toggle)
mkosi 1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 176 kB
  • ctags: 9
  • sloc: python: 1,256; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download
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