Skip to content

Commit

Permalink
PR #324: Create manpages from the binary in the install location.
Browse files Browse the repository at this point in the history
...instad of extracting it manually from the bazel-bin/
location.

This is in preparation for the rename of the files. We can't expect the old names to exist anymore in bazel-bin/ soon, but they still will be in the installed location.

GitHub PR #324

Copybara import of the project:

  - 3bc47cd Create manpages from the binary in the install location. by Henner Zeller <[email protected]>

Closes #324

PiperOrigin-RevId: 315515564
  • Loading branch information
hzeller committed Jun 9, 2020
1 parent 2f91ffe commit 62a23a5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/travis/github-releases-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ mkdir -p $PREFIX_MAN

# Binaries
bazel run :install -c opt -- $PREFIX_BIN

for BIN in $PREFIX_BIN/*; do
ls -l $BIN
file $BIN
Expand All @@ -43,12 +42,10 @@ done
# Documentation
cp -a /tmp/pages/* $PREFIX_DOC
# Man pages
gflags2man --help_flag="--helpfull" --dest_dir $PREFIX_MAN bazel-bin/verilog/tools/syntax/verilog_syntax
gzip $PREFIX_MAN/verilog_syntax.1
gflags2man --help_flag="--helpfull" --dest_dir $PREFIX_MAN bazel-bin/verilog/tools/lint/verilog_lint
gzip $PREFIX_MAN/verilog_lint.1
gflags2man --help_flag="--helpfull" --dest_dir $PREFIX_MAN bazel-bin/verilog/tools/formatter/verilog_format
gzip $PREFIX_MAN/verilog_format.1
for m in verilog_syntax verilog_lint verilog_format ; do
gflags2man --help_flag="--helpfull" --dest_dir $PREFIX_MAN $PREFIX_BIN/$m
gzip $PREFIX_MAN/$m.1
done

DISTRO_ARCH=$(uname -m)
DISTRO=$(lsb_release --short --id)
Expand Down

0 comments on commit 62a23a5

Please sign in to comment.