1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:44:45 +00:00
Files
dotdrop/manpage/generate.sh
2022-12-24 15:19:31 +01:00

15 lines
310 B
Bash
Executable File
Vendored

#!/usr/bin/env bash
version=$(git describe --tags --abbrev=0)
hash txt2man 2>/dev/null
[ "$?" != "0" ] && echo "install txt2man" && exit 1
txt2man \
-t "dotdrop" \
-P "dotdrop" \
-r "dotdrop-${version}" \
-s 1 \
-v "Save your dotfiles once, deploy them everywhere" \
dotdrop.txt2man > dotdrop.1