From: Wayne Davison Date: Sun, 17 Apr 2016 18:43:46 +0000 (-0700) Subject: Tweak non-fatal output when man pages cannot be created. X-Git-Tag: v3.1.3pre1~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=070c810e2da9fff8adf906e0e7c0f3aa0967a1fa;p=thirdparty%2Frsync.git Tweak non-fatal output when man pages cannot be created. --- diff --git a/Makefile.in b/Makefile.in index 151247db..5656688b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -215,8 +215,8 @@ proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c config.h man: rsync.1 rsyncd.conf.5 man-copy man-copy: - @-if test -f rsync.1; then :; else echo 'Copying srcdir rsync.1'; cp -p $(srcdir)/rsync.1 .; fi - @-if test -f rsyncd.conf.5; then :; else echo 'Copying srcdir rsyncd.conf.5'; cp -p $(srcdir)/rsyncd.conf.5 .; fi + @if test -f rsync.1; then :; elif test -f $(srcdir)/rsync.1; then echo 'Copying srcdir rsync.1'; cp -p $(srcdir)/rsync.1 .; else echo "NOTE: rsync.1 cannot be created."; fi + @if test -f rsyncd.conf.5; then :; elif test -f $(srcdir)/rsyncd.conf.5; then echo 'Copying srcdir rsyncd.conf.5'; cp -p $(srcdir)/rsyncd.conf.5 .; else echo "NOTE: rsyncd.conf.5 cannot be created."; fi rsync.1: rsync.yo yodl2man -o rsync.1 $(srcdir)/rsync.yo