Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Generate man pages based on built executables

  • Loading branch information...
commit 5f37a2d7061c110dc709f67d4cdace4cc6a59f95 1 parent 21147d4
@gholms gholms authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 generate-manpages.sh
View
4 generate-manpages.sh
@@ -5,11 +5,11 @@ rm -rf man/*
export PYTHONPATH=".:$PYTHONPATH"
# eucacommand-based
-for exe in bin/euca-*; do
+for exe in build/*/euca-*; do
help2man "$exe" -N -o "man/$(basename $exe).1" -n "$($exe --help | sed '/^$/,$d')"
done
# roboto-based
-for exe in bin/euare-* bin/eustore-*; do
+for exe in build/*/euare-* build/*/eustore-*; do
help2man "$exe" -N -o "man/$(basename $exe).1" -n "$($exe --help | sed '1,2d;/^$/,$d')"
done
Please sign in to comment.
Something went wrong with that request. Please try again.