Skip to content

Commit

Permalink
Drop support for COPY, -c has been the default mode of install(1)
Browse files Browse the repository at this point in the history
for a long time now.

Approved by:	bde
  • Loading branch information
Ruslan Ermilov authored and Ruslan Ermilov committed Jul 29, 2002
1 parent d46a531 commit d2893b1
Show file tree
Hide file tree
Showing 79 changed files with 155 additions and 163 deletions.
66 changes: 33 additions & 33 deletions etc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ distribute:
.if defined(OBJFORMAT)
echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/${DISTRIBUTION}/etc/objformat
.endif
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
${DISTDIR}/${DISTRIBUTION}/boot/device.hints

distribution:
cd ${.CURDIR}; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${BIN1} ${DESTDIR}/etc; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 755 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 \
${BIN2} ${DESTDIR}/etc; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 600 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
cd ${.CURDIR}/defaults; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${DEFAULTS} ${DESTDIR}/etc/defaults
cd ${.CURDIR}/periodic; ${MAKE} install
cd ${.CURDIR}/rc.d; ${MAKE} install
Expand All @@ -92,73 +92,73 @@ distribution:
.endif
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL)
.if !defined(NO_OPENSSH)
cd ${.CURDIR}; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${SSH} ${DESTDIR}/etc/ssh
.endif
cd ${.CURDIR}; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${SSL} ${DESTDIR}/etc/ssl
.endif
.if !defined(NO_MAKEDEV_INSTALL)
cd ${.CURDIR}; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 \
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local MAKEDEV ${DESTDIR}/dev
.if !defined(NO_MAKEDEV_RUN)
cd ${DESTDIR}/dev; sh MAKEDEV all
.endif
.endif
cd ${.CURDIR}/root; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
dot.cshrc ${DESTDIR}/root/.cshrc; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
dot.klogin ${DESTDIR}/root/.klogin; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
dot.login ${DESTDIR}/root/.login; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
dot.profile ${DESTDIR}/root/.profile; \
rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
cd ${.CURDIR}/mtree; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${MTREE} ${DESTDIR}/etc/mtree
cd ${.CURDIR}/namedb; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${NAMEDB} ${DESTDIR}/etc/namedb
cd ${.CURDIR}/ppp; ${INSTALL} ${COPY} -o root -g ${BINGRP} -m 600 \
cd ${.CURDIR}/ppp; ${INSTALL} -o root -g ${BINGRP} -m 600 \
${PPPCNF} ${DESTDIR}/etc/ppp
cd ${.CURDIR}/mail; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${ETCMAIL} ${DESTDIR}/etc/mail
@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \
! -f ${DESTDIR}/etc/aliases ]; then \
set -x; \
ln -s mail/aliases ${DESTDIR}/etc/aliases; \
fi
${INSTALL} ${COPY} -o ${BINOWN} -g operator -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \
${DESTDIR}/etc/dumpdates
${INSTALL} ${COPY} -o nobody -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/db/locate.database
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/auth.log
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/cron
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/lpd-errs
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
${DESTDIR}/var/log/maillog
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/lastlog
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/messages
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/security
${INSTALL} ${COPY} -o ${BINOWN} -g network -m 640 /dev/null \
${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \
${DESTDIR}/var/log/slip.log
${INSTALL} ${COPY} -o ${BINOWN} -g network -m 640 /dev/null \
${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \
${DESTDIR}/var/log/ppp.log
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/wtmp
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/run/utmp
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
${DESTDIR}/var/crash
cd ${.CURDIR}/..; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${FREEBSD} ${DESTDIR}/
.if !defined(NOMAN)
cd ${.CURDIR}/../share/man; ${MAKE} makedb
Expand Down Expand Up @@ -214,10 +214,10 @@ distrib-dirs:
done

etc-examples:
cd ${.CURDIR}; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${BIN1} ${BIN2} nsmb.conf opieaccess \
${DESTDIR}/usr/share/examples/etc
cd ${.CURDIR}/defaults; ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults

.include <bsd.prog.mk>
4 changes: 2 additions & 2 deletions etc/isdn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ I4BETCFILE= holidays.D \

install:
for i in ${I4BETCPROG} ; do \
${INSTALL} ${COPY} -o root -g wheel -m 700 $$i ${DESTDIR}/etc/isdn ; \
${INSTALL} -o root -g wheel -m 700 $$i ${DESTDIR}/etc/isdn ; \
done ; \
for i in ${I4BETCFILE} ; do \
${INSTALL} ${COPY} -o root -g wheel -m 600 $$i ${DESTDIR}/etc/isdn ; \
${INSTALL} -o root -g wheel -m 600 $$i ${DESTDIR}/etc/isdn ; \
done

# Suck in the ${COPY} definition.
Expand Down
4 changes: 2 additions & 2 deletions etc/mail/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ install: install-cf install-submit-cf

install-cf: ${INSTALL_CF}
.if ${INSTALL_CF} != /etc/mail/sendmail.cf
${INSTALL} ${COPY} -m ${SHAREMODE} ${INSTALL_CF} /etc/mail/sendmail.cf
${INSTALL} -m ${SHAREMODE} ${INSTALL_CF} /etc/mail/sendmail.cf
.endif


Expand All @@ -199,7 +199,7 @@ install-submit-cf: ${INSTALL_SUBMIT_CF}
@false
.else
.if ${INSTALL_SUBMIT_CF} != /etc/mail/submit.cf
${INSTALL} ${COPY} -m ${SHAREMODE} ${INSTALL_SUBMIT_CF} /etc/mail/submit.cf
${INSTALL} -m ${SHAREMODE} ${INSTALL_SUBMIT_CF} /etc/mail/submit.cf
.endif
.endif

Expand Down
26 changes: 13 additions & 13 deletions etc/sendmail/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,18 @@ install: ${INSTALL_CF} ${INSTALL_SUBMIT_CF}
.endif
.if defined(INSTALL_CF)
.if ${INSTALL_CF} != ${DEST_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
${DEST_CF}
.endif
.endif
.if defined(SENDMAIL_ADDITIONAL_CF)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${SENDMAIL_ADDITIONAL_CF} ${DESTDIR}/etc/mail
.endif
.ifndef SENDMAIL_SET_USER_ID
.if defined(INSTALL_SUBMIT_CF)
.if ${INSTALL_SUBMIT_CF} != ${DEST_SUBMIT_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL_SUBMIT_CF} ${DEST_SUBMIT_CF}
.endif
.endif
Expand All @@ -103,37 +103,37 @@ distribution: freebsd.cf freebsd.mc ${INSTALL_CF} ${INSTALL_SUBMIT_CF}
@echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
@false
.endif
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/freebsd.mc \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/freebsd.mc \
${DESTDIR}/etc/mail/freebsd.mc
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${DESTDIR}/etc/mail/freebsd.cf
.if defined(INSTALL_CF)
.if ${INSTALL_CF} != ${DEST_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
${DEST_CF}
.endif
.else
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${DEST_CF}
.endif
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.mc \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.mc \
${DESTDIR}/etc/mail/freebsd.submit.mc
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.cf \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.cf \
${DESTDIR}/etc/mail/freebsd.submit.cf
.ifndef SENDMAIL_SET_USER_ID
.if defined(INSTALL_SUBMIT_CF)
.if ${INSTALL_SUBMIT_CF} != ${DEST_SUBMIT_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${INSTALL_SUBMIT_CF} ${DEST_SUBMIT_CF}
.endif
.else
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.cf \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.cf \
${DEST_SUBMIT_CF}
.endif
.endif
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
${DESTDIR}/etc/mail/helpfile
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
${DESTDIR}/var/log/sendmail.st

.include <bsd.prog.mk>
2 changes: 1 addition & 1 deletion games/battlestar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ HIDEGAME=hidegame

beforeinstall:
.if !exists(${DESTDIR}/var/games/battlestar.log)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/battlestar.log
.endif

Expand Down
2 changes: 1 addition & 1 deletion games/canfield/canfield/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MLINKS= canfield.6 cfscores.6

beforeinstall:
.if !exists(${DESTDIR}/var/games/cfscores)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/cfscores
.endif

Expand Down
2 changes: 1 addition & 1 deletion games/cribbage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HIDEGAME=hidegame

beforeinstall:
.if !exists(${DESTDIR}/var/games/criblog)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/criblog
.endif

Expand Down
4 changes: 2 additions & 2 deletions games/hack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ makedefs: makedefs.o
${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}

beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} /dev/null \
${DESTDIR}/var/games/hackdir/perm
.if !exists(${DESTDIR}/var/games/hackdir/record)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 460 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 460 /dev/null \
${DESTDIR}/var/games/hackdir/record
.endif
# rm -f ${DESTDIR}/var/games/hackdir/bones* \
Expand Down
4 changes: 2 additions & 2 deletions games/larn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ HIDEGAME=hidegame

beforeinstall:
.if !exists(${DESTDIR}/var/games/larn/lscore12.0)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
${DESTDIR}/var/games/larn/lscore12.0
.endif
.if !exists(${DESTDIR}/var/games/larn/llog12.0)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
${DESTDIR}/var/games/larn/llog12.0
.endif

Expand Down
2 changes: 1 addition & 1 deletion games/phantasia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ setup: cross-phantglobs.o setup.o ${LIBM}
beforeinstall:
.for file in ${DATAFILES}
.if !exists(${DESTDIR}/var/games/phantasia/${file})
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 \
${file} ${DESTDIR}/var/games/phantasia
.endif
.endfor
Expand Down
2 changes: 1 addition & 1 deletion games/robots/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HIDEGAME=hidegame

beforeinstall:
.if !exists(${DESTDIR}/var/games/robots_roll)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/robots_roll
.endif

Expand Down
2 changes: 1 addition & 1 deletion games/rogue/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ MAN= rogue.6

beforeinstall:
.if !exists(${DESTDIR}/var/games/rogue.scores)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/rogue.scores
.endif

Expand Down
2 changes: 1 addition & 1 deletion games/sail/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HIDEGAME=hidegame

beforeinstall:
.if !exists(${DESTDIR}/var/games/saillog)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/saillog
.endif

Expand Down
4 changes: 2 additions & 2 deletions games/snake/snake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ MLINKS= snake.6 snscore.6

beforeinstall:
.if !exists(${DESTDIR}/var/games/snakerawscores)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/snakerawscores
.endif
.if !exists(${DESTDIR}/var/games/snake.log)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/games/snake.log
.endif

Expand Down
2 changes: 1 addition & 1 deletion gnu/lib/csu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tconfig.h: ${CCDIR}/cc_tools/Makefile

realinstall:
.for file in ${OBJS} ${SOBJS} ${TGTOBJS}
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
.endfor

Expand Down
2 changes: 1 addition & 1 deletion gnu/lib/libdialog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DPADD+= ${LIBNCURSES}
.if !defined(NOHTML)
afterinstall:
.for file in ${EXAMPLES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/TESTS/${file} ${DESTDIR}/usr/share/examples/libdialog
.endfor
.endif
Expand Down
2 changes: 1 addition & 1 deletion gnu/usr.bin/binutils/ld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ stringify.sed:
ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}

afterinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}

.include <bsd.prog.mk>
2 changes: 1 addition & 1 deletion gnu/usr.bin/binutils/strip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ maybe_stripped: strip
.endif

realinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip

.include <bsd.prog.mk>
2 changes: 1 addition & 1 deletion gnu/usr.bin/groff/contrib/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CLEANFILES+= ${MAN}
beforeinstall:
.for locale in ${LOCALE}
.if !exists(${DESTDIR}${TMACDIR}/mm/${locale})
${INSTALL} ${COPY} -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \
${INSTALL} -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \
/dev/null ${DESTDIR}${TMACDIR}/mm/${locale}
.endif
.endfor
2 changes: 1 addition & 1 deletion gnu/usr.bin/groff/font/Makefile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEVICEDIR?= ${fontdir}/dev${DEV}
all: ${DEVFILES}

beforeinstall: ${DEVFILES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.ALLSRC} ${DESTDIR}${DEVICEDIR}

.include <bsd.prog.mk>
Loading

0 comments on commit d2893b1

Please sign in to comment.