2018-01-29 12:32:59 +01:00
|
|
|
$NetBSD: patch-Makefile.in,v 1.2 2018/01/29 11:32:59 adam Exp $
|
2015-11-13 14:41:39 +01:00
|
|
|
|
|
|
|
https://bugzilla.samba.org/show_bug.cgi?id=11594
|
2018-01-29 12:32:59 +01:00
|
|
|
Fix installation.
|
2015-11-13 14:41:39 +01:00
|
|
|
|
2018-01-29 12:32:59 +01:00
|
|
|
--- Makefile.in.orig 2016-07-20 15:34:26.000000000 +0000
|
2015-11-13 14:41:39 +01:00
|
|
|
+++ Makefile.in
|
2018-01-29 12:32:59 +01:00
|
|
|
@@ -66,12 +66,9 @@ CHECK_OBJS=tls.o testrun.o getgroups.o g
|
|
|
|
all: Makefile rsync$(EXEEXT) rsync-ssl stunnel-rsync stunnel-rsyncd.conf @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
|
|
|
|
- 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
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
|
|
|
|
+ if test -f rsync.1; then ${BSD_INSTALL_MAN} rsync.1 ${DESTDIR}${mandir}/man1; fi
|
|
|
|
+ if test -f rsyncd.conf.5; then ${BSD_INSTALL_MAN} rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
|
|
|
|
|
|
|
|
install-ssl-client: rsync-ssl stunnel-rsync
|
|
|
|
-${MKDIR_P} ${DESTDIR}${bindir}
|
|
|
|
@@ -209,7 +206,7 @@ proto: proto.h-tstamp
|
2015-11-13 14:41:39 +01:00
|
|
|
proto.h: proto.h-tstamp
|
|
|
|
@if test -f proto.h; then :; else cp -p $(srcdir)/proto.h .; fi
|
|
|
|
|
|
|
|
-proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c config.h
|
|
|
|
+proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c
|
|
|
|
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
|
|
|
|
|
|
|
|
man: rsync.1 rsyncd.conf.5 man-copy
|