File: build-man-pages

package info (click to toggle)
acbuild 0.4.0+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 740 kB
  • sloc: sh: 170; makefile: 24
file content (15 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -e

# Gets the directory that this script is stored in.
# https://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

ACBUILD_BUILD_TAGS="-tags 'manpages'"

source "${DIR}/build"

${DIR}/bin/acbuild gen-man-pages

# Don't want to leave acbuild with the gen-man-pages support lying around
rm ${DIR}/bin/acbuild