PERFORCE change 32823 for review
Dag-Erling Smorgrav
des at FreeBSD.org
Sun Jun 8 16:31:29 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=32823
Change 32823 by des at des.at.des.thinksec.com on 2003/06/08 16:30:40
Update the distribution script to use configure and GNU make.
Affected files ...
.. //depot/projects/openpam/dist.sh#7 edit
Differences ...
==== //depot/projects/openpam/dist.sh#7 (text+ko) ====
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $P4: //depot/projects/openpam/dist.sh#6 $
+# $P4: //depot/projects/openpam/dist.sh#7 $
#
set -e
@@ -9,18 +9,23 @@
distname="openpam-${release}"
tarball="${distname}.tar.gz"
-make cleandir
-make cleandir
-make depend && make
+gmake clean || true
+gmake distclean || true
+./autogen.sh
+./configure --with-pam-su --with-pam-unix
+gmake
install -d -m 0755 "${distname}"
grep -v '^#' MANIFEST | while read file; do
install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1
- install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
+ install -c -m "${file}" "${distname}/${file}" || exit 1
+done
+for f in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do
+ chmod a+x "${distname}/${f}"
done
tar zcf "${tarball}" "${distname}"
rm -rf "${distname}"
-make cleandir
-make cleandir
+gmake clean || true
+gmake distclean || true
echo
md5 "${tarball}"
More information about the p4-projects
mailing list