diff options
author | grog <grog@FreeBSD.org> | 2002-06-13 21:21:59 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2002-06-13 21:21:59 +0000 |
commit | e930b35ecdd23d857aaa5efd37d78e7bfc0b3966 (patch) | |
tree | 2220fb3209411ab3bb21b979912e9d500417fec6 /usr.bin | |
parent | fb4608bacb1fa1b6e9fdd02c47d034721446b29f (diff) | |
download | FreeBSD-src-e930b35ecdd23d857aaa5efd37d78e7bfc0b3966.zip FreeBSD-src-e930b35ecdd23d857aaa5efd37d78e7bfc0b3966.tar.gz |
beforeinstall target:
- Remove superfluous ;
- create destination directories if they don't exist.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/calendar/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/calendar/Makefile b/usr.bin/calendar/Makefile index b323c51..e09f40b 100644 --- a/usr.bin/calendar/Makefile +++ b/usr.bin/calendar/Makefile @@ -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} |