Don't fail the install if the man pages aren't there.
[rsync/rsync.git] / Makefile.in
index 212bdba..40e5faf 100644 (file)
@@ -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
+       -${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
+       -${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
 
 install-strip:
        $(MAKE) INSTALL_STRIP='-s' install
@@ -128,11 +128,10 @@ cleantests:
 distclean: clean
        rm -f Makefile config.h config.status
        rm -f $(srcdir)/Makefile $(srcdir)/config.h $(srcdir)/config.status
-
        rm -f config.cache config.log
        rm -f $(srcdir)/config.cache $(srcdir)/config.log
-
        rm -f shconfig $(srcdir)/shconfig
+       rm -f configure.sh config.h.in proto.h rsync.1 rsyncd.conf.5
 
 # this target is really just for my use. It only works on a limited
 # range of machines and is used to produce a list of potentially