Skip to content
Snippets Groups Projects
Commit 28996534 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

debian: Add librem5-flash-image manpage based on help output

parent 05568753
No related branches found
No related tags found
1 merge request!170flash-image: Print results and add manpage
debian/librem5-flash-image.1
......@@ -5,6 +5,7 @@ Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends:
debhelper (>= 11),
flake8,
help2man,
shellcheck,
Standards-Version: 4.1.3
Homepage: https://source.puri.sm/Librem5/librem5-devkit-tools/
......
librem5-flash-image.1
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
%:
dh $@
......@@ -16,3 +18,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
else
@echo "Checks disabled via DEB_BUILD_OPTIONS"
endif
override_dh_installman:
help2man -N --version-string=$(DEB_VERSION_UPSTREAM) \
--version-string=0.0.12 scripts/librem5-flash-image \
> debian/tmp/librem5-flash-image.1
dh_installman
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment