source: openpam/trunk/dist.sh @ 163

Last change on this file since 163 was 152, checked in by Dag-Erling Smørgrav, 18 years ago

Revamp the man page generation process. Delete the generated man pages
as they are now regenerated automatically by the distribution script.

Sponsored by: DARPA, NAI Labs

File size: 454 bytes
Line 
1#!/bin/sh
2#
3# $P4: //depot/projects/openpam/dist.sh#4 $
4#
5
6set -e
7
8release=$(date '+%Y%m%d')
9distname="openpam-${release}"
10
11make cleandir
12make cleandir
13(cd doc/man && make openpam.3)
14install -d -m 0755 "${distname}"
15grep -v '^#' MANIFEST | while read file; do
16    install -d -m 0755 "${distname}/$(dirname ${file})"
17    install -c -m 0644 "${file}" "${distname}/${file}"
18done
19tar zcf "${distname}.tar.gz" "${distname}"
20rm -rf "${distname}"
21make cleandir
Note: See TracBrowser for help on using the repository browser.