Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bdc12f4
)
Improved the manpage install rules.
author
Wayne Davison
<wayned@samba.org>
Fri, 9 Nov 2007 18:12:40 +0000
(18:12 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 9 Nov 2007 18:12:40 +0000
(18:12 +0000)
Makefile.in
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
40e5faf
..
d398ef0
100644
(file)
--- 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
${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
install-strip:
$(MAKE) INSTALL_STRIP='-s' install