From 47d2383c11f9b79936327e4fcededb608f721ed5 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 2 Jun 2019 04:33:10 +0200 Subject: [PATCH] [enh] generate and copy manpages on debian installation --- debian/install | 1 + debian/rules | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/install b/debian/install index b540ca749..3cb7e356a 100644 --- a/debian/install +++ b/debian/install @@ -1,6 +1,7 @@ bin/* /usr/bin/ sbin/* /usr/sbin/ data/bash-completion.d/yunohost /etc/bash_completion.d/ +doc/yunohost.8.gz /usr/share/man/man8/yunohost.8.gz data/actionsmap/* /usr/share/moulinette/actionsmap/ data/hooks/* /usr/share/yunohost/hooks/ data/other/yunoprompt.service /etc/systemd/system/ diff --git a/debian/rules b/debian/rules index d012c73f3..8afe372b5 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,7 @@ override_dh_auto_build: # Generate bash completion file python data/actionsmap/yunohost_completion.py + python doc/generate_manpages.py --gzip --output doc/yunohost.8.gz override_dh_installinit: dh_installinit -pyunohost --name=yunohost-api --restart-after-upgrade