aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-04-28 16:41:03 -0700
committerWayne Davison <wayned@samba.org>2011-04-28 16:41:03 -0700
commit03080929146656daf4bdc164e4215bbadcbaa5e1 (patch)
tree569af9b20843bc274df94ea8c7a972fc7490d7e8 /Makefile.in
parenta13d3b3d77e61d1b31145b6a145325bae065c144 (diff)
downloadandroid_external_rsync-03080929146656daf4bdc164e4215bbadcbaa5e1.tar.gz
android_external_rsync-03080929146656daf4bdc164e4215bbadcbaa5e1.tar.bz2
android_external_rsync-03080929146656daf4bdc164e4215bbadcbaa5e1.zip
Handle non-srcdir man copying when yodl isn't installed.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index dfb4e078..84b7ca43 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -181,9 +181,11 @@ proto.h: proto.h-tstamp
proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c config.h
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
-man: rsync.1 rsyncd.conf.5
- @if test -f rsync.1; then :; else cp -p $(srcdir)/rsync.1 .; fi
- @if test -f rsyncd.conf.5; then :; else cp -p $(srcdir)/rsyncd.conf.5 .; fi
+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
rsync.1: rsync.yo
yodl2man -o rsync.1 $(srcdir)/rsync.yo