File: make_doc_tarball

package info (click to toggle)
pyke 1.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,456 kB
  • sloc: python: 12,872; sh: 441; xml: 203; sql: 39; makefile: 39
file content (10 lines) | stat: -rwxr-xr-x 176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

usage() {
    echo "usage: make_doc_tarball tarfile" >&2
    exit 2
}

[ $# -eq 1 ] || usage

tar --exclude='*/.*.swp' --exclude='*/.pyhist' -C doc -czf "$1" html