aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-28 07:44:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-28 07:44:54 +0200
commit28acf7dbae3733afedd895035c6a053aa4d69f8b (patch)
treeb6d85ed024d12177f5df20b952f47347ebed8828 /doc/cli.sh
parent03e4e1a8bde0a53404af45e36e2f69df80d92ef8 (diff)
Move to common man prologues and epilogues
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 8422e7c..83aefdc 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -33,13 +33,15 @@ function compile ()
shift
done
- cli -I .. -v version="$version" -v date="$date" --include-base-last "${o[@]}" \
---generate-html --html-prologue-file prologue.xhtml --html-epilogue-file \
-epilogue.xhtml --html-suffix .xhtml ../bpkg/$n.cli
-
- cli -I .. -v version="$version" -v date="$date" --include-base-last "${o[@]}" \
---generate-man --man-prologue-file prologue.1 --man-epilogue-file epilogue.1 \
---man-suffix .1 ../bpkg/$n.cli
+ cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \
+--include-base-last "${o[@]}" --generate-html --html-prologue-file \
+man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix \
+.xhtml ../bpkg/$n.cli
+
+ cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \
+--include-base-last "${o[@]}" --generate-man --man-prologue-file \
+man-prologue.1 --man-epilogue-file man-epilogue.1 --man-suffix .1 \
+../bpkg/$n.cli
}
o="--output-prefix bpkg- --class-doc bpkg::common_options=short"