File: regenerate-man-pages.sh

package info (click to toggle)
sup-mail 0.22.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,136 kB
  • ctags: 1,490
  • sloc: ruby: 12,583; sh: 115; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if ! grep --quiet sup-mail debian/changelog; then
    echo "You are not in the top sup-mail package directory."
    exit 1
fi

git clone https://github.com/sup-heliotrope/sup.wiki.git doc/wiki
rake man
cp man/* debian/man/
mv debian/man/sup.1 debian/man/sup-mail.1

rm -rf man doc/wiki