Debian: Add a man page

This commit is contained in:
alan (NyxTrail) 2024-03-09 07:02:00 +00:00
parent dc22a9adc5
commit 6ae6a44ae9
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
4 changed files with 38 additions and 1 deletions

3
debian/control vendored
View File

@ -13,7 +13,8 @@ Build-Depends: cmake,
libwayland-dev, libwayland-dev,
libwebp-dev, libwebp-dev,
libwlroots-dev, libwlroots-dev,
ninja-build ninja-build,
pandoc
Standards-Version: 4.6.2 Standards-Version: 4.6.2
Homepage: https://github.com/hyprwm/hyprpaper Homepage: https://github.com/hyprwm/hyprpaper
Rules-Requires-Root: no Rules-Requires-Root: no

33
debian/hyprpaper.1.rst vendored Normal file
View File

@ -0,0 +1,33 @@
:title: hyprpaper
NAME
====
hyprpaper - Wallpaper utility for Hyprland (and other wlroots-based compositors).
SYNOPSIS
========
**hyprpaper** [arg [...]]
OPTIONS
=======
**-h**, **--help**
Show command usage.
**-c**, **--config**
Specify config file to use
**--no-fractional**, **-n**
Disable fractional scaling support
BUGS
====
Submit bug reports and request features online at:
<*https://github.com/hyprwm/hyprpaper/issues*>
SEE ALSO
========
Sources at: <*https://github.com/hyprwm/hyprpaper*>
AUTHORS
=======
Created by Alan M Varghese <alan@digistorm.in> for Debian GNU/Linux packaging of hyprpaper

1
debian/hyprpaper.manpages vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/hyprpaper/hyprpaper.1

2
debian/rules vendored
View File

@ -19,4 +19,6 @@ override_dh_clean:
$(MAKE) clear $(MAKE) clear
override_dh_auto_install: override_dh_auto_install:
mkdir -p debian/tmp/usr/share/doc/hyprpaper
pandoc debian/hyprpaper.1.rst --standalone --variable=header:"hyprpaper User Manual" --variable=section:1 --from rst --to man > debian/tmp/usr/share/doc/hyprpaper/hyprpaper.1
dh_auto_install -- PREFIX='$${DESTDIR}/usr' dh_auto_install -- PREFIX='$${DESTDIR}/usr'