source: openpam/trunk/dist.sh @ 86

Last change on this file since 86 was 86, checked in by Dag-Erling Smørgrav, 19 years ago

$Id$ -> $P4$ + regenerate man pages.

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