Commit 28996534 authored by Guido Gunther's avatar Guido Gunther
Browse files

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

parent 05568753
debian/librem5-flash-image.1
...@@ -5,6 +5,7 @@ Maintainer: Guido Günther <agx@sigxcpu.org> ...@@ -5,6 +5,7 @@ Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends: Build-Depends:
debhelper (>= 11), debhelper (>= 11),
flake8, flake8,
help2man,
shellcheck, shellcheck,
Standards-Version: 4.1.3 Standards-Version: 4.1.3
Homepage: https://source.puri.sm/Librem5/librem5-devkit-tools/ Homepage: https://source.puri.sm/Librem5/librem5-devkit-tools/
......
librem5-flash-image.1
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/dpkg/default.mk
%: %:
dh $@ dh $@
...@@ -16,3 +18,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ...@@ -16,3 +18,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
else else
@echo "Checks disabled via DEB_BUILD_OPTIONS" @echo "Checks disabled via DEB_BUILD_OPTIONS"
endif 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment