mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e55ed741c2
This also removes all the old man pages, .gitignores their directory, and updates the md2man-all.sh script to be easier to read and more friendly to being called within hack/make/ubuntu. Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
16 lines
243 B
Bash
Executable file
16 lines
243 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# get into this script's directory
|
|
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
|
|
|
[ "$1" = '-q' ] || {
|
|
set -x
|
|
pwd
|
|
}
|
|
|
|
mkdir -p ../man1
|
|
|
|
for FILE in docker*.md; do
|
|
pandoc -s -t man "$FILE" -o "../man1/${FILE%.*}.1"
|
|
done
|