From 6907edfc4025c93bae4542039f9484cfa21b6aee Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 6 May 2020 12:58:10 +0000 Subject: Makefile: use '-f' flag on cp commands FossilOrigin-Name: 8a65b5891636d98d17d38736b3406043f4ad7986aacec8de1ebf5e9588cf039b --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 269d8af..86dea6a 100644 --- a/Makefile +++ b/Makefile @@ -17,16 +17,16 @@ clean: install: all mkdir -p ${DESTDIR}${BINDIR} - cp kiss kiss-stat kiss-readlink ${DESTDIR}${BINDIR} + cp -f kiss kiss-stat kiss-readlink ${DESTDIR}${BINDIR} chmod 755 ${DESTDIR}${BINDIR}/kiss \ ${DESTDIR}${BINDIR}/kiss-stat \ ${DESTDIR}${BINDIR}/kiss-readlink for bin in contrib/* ; do \ - cp $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; \ + cp -f $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; \ chmod 755 ${DESTDIR}${BINDIR}/$${bin##*/} ; done mkdir -p ${DESTDIR}${MAN1} - for man in man/*.1 ; do cp $${man} ${DESTDIR}${MAN1}/$${man##*/}; \ + for man in man/*.1 ; do cp -f $${man} ${DESTDIR}${MAN1}/$${man##*/}; \ chmod 644 ${DESTDIR}${MAN1}/$${man##*/} ; done -- cgit v1.2.3