forked from rra/wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap
executable file
·27 lines (23 loc) · 955 Bytes
/
bootstrap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# Run this shell script to bootstrap as necessary after a fresh checkout.
set -e
# Regenerate all the autotools files.
autoreconf -i --force
# Generate manual pages.
version=`grep '^wallet' NEWS | head -1 | cut -d' ' -f2`
for doc in client/wallet client/wallet-rekey ; do
pod2man --release="$version" --center=wallet \
--name=`basename "$doc" | tr a-z A-Z` "$doc".pod > "$doc".1
done
for doc in contrib/ad-keytab contrib/wallet-rekey-periodic \
contrib/wallet-summary contrib/wallet-unknown-hosts ; do
pod2man --release="$version" --center=wallet --section=8 \
--name=`basename "$doc" | tr a-z A-Z` "$doc" > "$doc".8
done
for doc in server/keytab-backend server/wallet-admin \
server/wallet-admin server/wallet-backend \
server/wallet-report ; do
pod2man --release="$version" --center=wallet --section=8 \
--name=`basename "$doc" | tr a-z A-Z` "$doc.in" > "$doc".8
done