Changeset 253 in openpam for trunk


Ignore:
Timestamp:
Jun 9, 2003, 1:30:40 AM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Update the distribution script to use configure and GNU make.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dist.sh

    r218 r253  
    11#!/bin/sh
    22#
    3 # $P4: //depot/projects/openpam/dist.sh#6 $
     3# $P4: //depot/projects/openpam/dist.sh#7 $
    44#
    55
     
    1010tarball="${distname}.tar.gz"
    1111
    12 make cleandir
    13 make cleandir
    14 make depend && make
     12gmake clean || true
     13gmake distclean || true
     14./autogen.sh
     15./configure --with-pam-su --with-pam-unix
     16gmake
    1517install -d -m 0755 "${distname}"
    1618grep -v '^#' MANIFEST | while read file; do
    1719    install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1
    18     install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
     20    install -c -m "${file}" "${distname}/${file}" || exit 1
     21done
     22for f in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do
     23    chmod a+x "${distname}/${f}"
    1924done
    2025tar zcf "${tarball}" "${distname}"
    2126rm -rf "${distname}"
    22 make cleandir
    23 make cleandir
     27gmake clean || true
     28gmake distclean || true
    2429
    2530echo
Note: See TracChangeset for help on using the changeset viewer.