aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-09 18:12:40 +0000
committerWayne Davison <wayned@samba.org>2007-11-09 18:12:40 +0000
commitc8dccf8fb4949ad8f2c25f86808b517a5b30faf9 (patch)
treea5c83083c61f71b6c045b7038a86eb6e763aa706 /Makefile.in
parentbdc12f41ded2093bf40e79b774070afd6df104c6 (diff)
downloadandroid_external_rsync-c8dccf8fb4949ad8f2c25f86808b517a5b30faf9.tar.gz
android_external_rsync-c8dccf8fb4949ad8f2c25f86808b517a5b30faf9.tar.bz2
android_external_rsync-c8dccf8fb4949ad8f2c25f86808b517a5b30faf9.zip
Improved the manpage install rules.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 40e5faf5..d398ef09 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,8 +65,8 @@ install: all
${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir}
-mkdir -p ${DESTDIR}${mandir}/man1
-mkdir -p ${DESTDIR}${mandir}/man5
- -${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
- -${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
+ if test -f $(srcdir)/rsync.1; then ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
+ if test -f $(srcdir)/rsyncd.conf.5; then ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
install-strip:
$(MAKE) INSTALL_STRIP='-s' install