| 1 |
--- bsd.files.mk.orig Wed Oct 20 14:56:36 2004 |
| 2 |
+++ bsd.files.mk Tue Oct 19 14:33:53 2004 |
| 3 |
@@ -39,6 +39,7 @@ |
| 4 |
.endif |
| 5 |
installfiles: _${group}INS_${file:T} |
| 6 |
_${group}INS_${file:T}: ${file} |
| 7 |
+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}}/${${group}NAME_${.ALLSRC:T}} |
| 8 |
${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
| 9 |
-g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
| 10 |
${.ALLSRC} \ |
| 11 |
@@ -51,10 +52,12 @@ |
| 12 |
installfiles: _${group}INS |
| 13 |
_${group}INS: ${_${group}FILES} |
| 14 |
.if defined(${group}NAME) |
| 15 |
+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
| 16 |
${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
| 17 |
-m ${${group}MODE} ${.ALLSRC} \ |
| 18 |
${DESTDIR}${${group}DIR}/${${group}NAME} |
| 19 |
.else |
| 20 |
+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
| 21 |
${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
| 22 |
-m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
| 23 |
.endif |