Changeset 218 in openpam


Ignore:
Timestamp:
May 13, 2003, 2:45:45 PM (17 years ago)
Author:
Dag-Erling Smørgrav
Message:

Build everything (rather than just the man pages) so the release
will fail if the code won't build. Finish the release by showing
the MD5 checksum of the tarball.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dist.sh

    r171 r218  
    11#!/bin/sh
    22#
    3 # $P4: //depot/projects/openpam/dist.sh#5 $
     3# $P4: //depot/projects/openpam/dist.sh#6 $
    44#
    55
     
    88release=$(date '+%Y%m%d')
    99distname="openpam-${release}"
     10tarball="${distname}.tar.gz"
    1011
    1112make cleandir
    1213make cleandir
    13 (cd doc/man && make)
     14make depend && make
    1415install -d -m 0755 "${distname}"
    1516grep -v '^#' MANIFEST | while read file; do
    16     install -d -m 0755 "${distname}/$(dirname ${file})"
    17     install -c -m 0644 "${file}" "${distname}/${file}"
     17    install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1
     18    install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
    1819done
    19 tar zcf "${distname}.tar.gz" "${distname}"
     20tar zcf "${tarball}" "${distname}"
    2021rm -rf "${distname}"
    2122make cleandir
     23make cleandir
     24
     25echo
     26md5 "${tarball}"
Note: See TracChangeset for help on using the changeset viewer.