diff options
author | Felipe Sateler <fsateler@debian.org> | 2017-06-22 13:48:09 -0400 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2017-06-22 13:48:19 -0400 |
commit | b4e541fa9ab21bbcffea5acbb6735296a3a03f8b (patch) | |
tree | 7a72905c24e49fc79e31063418744eabf66c2a6c /debian | |
parent | 16a3941d83a5b0d77b6eb0c50833e14891acc428 (diff) |
Generate manpage in auto_build step instead of build
Debhelper was getting confused when running install, so don't override the
build targets
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index b610a2d..1733887 100755 --- a/debian/rules +++ b/debian/rules @@ -10,14 +10,10 @@ 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: +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 - -.PHONY: build |