1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

beforeinstall target:

- Remove superfluous ;
- create destination directories if they don't exist.
This commit is contained in:
Greg Lehey 2002-06-13 21:21:59 +00:00
parent b20a21a6c1
commit 9b838be73b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98182

View File

@ -14,9 +14,10 @@ beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
.for lang in ${INTER}
mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/${lang}/calendar.* \
${DESTDIR}${SHAREDIR}/calendar/${lang};
${DESTDIR}${SHAREDIR}/calendar/${lang}
.endfor
.for link in ${DE_LINKS}
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}