File: rules

package info (click to toggle)
mkosi 5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 420 kB
  • sloc: python: 3,296; sh: 25; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
	pandoc --standalone --to man --output debian/mkosi.1 mkosi.md