summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/groff/tmac/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/groff/tmac/Makefile b/gnu/usr.bin/groff/tmac/Makefile
index f6e09c7..195d32f 100644
--- a/gnu/usr.bin/groff/tmac/Makefile
+++ b/gnu/usr.bin/groff/tmac/Makefile
@@ -62,13 +62,12 @@ $f-s: $f
.endfor
beforeinstall:
- cd ${DIST_DIR}; \
+ (cd ${DIST_DIR} && \
${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
- ${NORMALFILES} ${DESTDIR}${TMACDIR}
- cd ${.CURDIR}; \
+ ${NORMALFILES} ${DESTDIR}${TMACDIR})
+ (cd ${.CURDIR} && \
${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
- koi8-r.tmac hyphen.ru ${DESTDIR}${TMACDIR}
- cd ${.OBJDIR};
+ koi8-r.tmac hyphen.ru ${DESTDIR}${TMACDIR})
.for f in ${STRIPFILES} ${SPECIALFILES}
${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
$f-s ${DESTDIR}${TMACDIR}/$f
OpenPOWER on IntegriCloud