move SCRIPTDIR to FILESDIR

This commit is contained in:
espie 2006-11-02 11:22:15 +00:00
parent 3f3a1c6d70
commit cb2b4ae232
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2005/02/24 13:20:41 alek Exp $
# $OpenBSD: Makefile,v 1.5 2006/11/02 11:22:15 espie Exp $
ONLY_FOR_ARCHS= i386
@ -54,7 +54,7 @@ do-install:
chmod 755 ${SML_BINDIR}/.run-sml
cd ${WRKDIR} && tar -cf - `find . -name x86-unix` | \
tar -C ${SML_BASE} -xf -
cd ${WRKDIR} && tar -cf - `${SCRIPTDIR}/get-cm ${WRKDIR}` | \
cd ${WRKDIR} && tar -cf - `${FILESDIR}/get-cm ${WRKDIR}` | \
tar -C ${SML_BASE} -xf -
for file in ${WRKDIR}/lib/*; do\
sed -e "s,${WRKDIR},${TRUEPREFIX}/smlnj," < $$file > \

View File

@ -5,7 +5,7 @@
# Find all .cm Group and Library descriptions that are referenced
# from the top level alias files in $SML_BASE/lib/
#
# $OpenBSD: get-cm,v 1.3 2002/06/30 13:37:42 espie Exp $
# $OpenBSD: get-cm,v 1.1 2006/11/02 11:22:15 espie Exp $
# temp file
tmpfile=`mktemp ${TMP:-/tmp}/chomp.XXXXXX`