github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/man/generate.sh (about)

     1  #!/bin/bash
     2  #
     3  # Generate man pages for docker/docker
     4  #
     5  
     6  set -eu
     7  
     8  mkdir -p ./man/man1
     9  
    10  # Generate man pages from cobra commands
    11  go build -o /tmp/gen-manpages ./man
    12  /tmp/gen-manpages ./man/man1
    13  
    14  # Generate legacy pages from markdown
    15  ./man/md2man-all.sh -q