$NetBSD: patch-ab,v 1.15 2009/06/15 16:53:02 tron Exp $ --- Makefile.in.orig 2009-04-11 00:24:49.000000000 +0100 +++ Makefile.in 2009-06-15 13:55:30.000000000 +0100 @@ -62,12 +62,9 @@ all: Makefile rsync$(EXEEXT) @MAKE_MAN@ install: all - -mkdir -p ${DESTDIR}${bindir} - ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir} - -mkdir -p ${DESTDIR}${mandir}/man1 - -mkdir -p ${DESTDIR}${mandir}/man5 + ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir} if test -f rsync.1; then ${INSTALLMAN} -m 644 rsync.1 ${DESTDIR}${mandir}/man1; fi - if test -f rsyncd.conf.5; then ${INSTALLMAN} -m 644 rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi + if test -f rsyncd.conf.5; then ${BSD_INSTALL_MAN} rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi install-strip: $(MAKE) INSTALL_STRIP='-s' install