[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] docs: Don't use non-portable cp -d flag unnecessarily (no links are involved)



commit 0b0ec476bb9dca589674745ebffb0f6799774d6e
Author:     Patrick Welche <prlw1@xxxxxxxxx>
AuthorDate: Wed Apr 17 09:59:38 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Apr 17 14:29:33 2013 +0100

    docs: Don't use non-portable cp -d flag unnecessarily (no links are 
involved)
    
    cp -d is a GNU extension, and only useful for links, which don't seem
    to exist in the directories being copied, so just remove said flag.
    
    Signed-off-by: Patrick Welche <prlw1@xxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 docs/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index fdebae8..5f319a1 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -84,9 +84,9 @@ install: all
        $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
 
        $(INSTALL_DIR) $(DESTDIR)$(MANDIR)
-       cp -dR man1 $(DESTDIR)$(MANDIR)
-       cp -dR man5 $(DESTDIR)$(MANDIR)
-       [ ! -d html ] || cp -dR html $(DESTDIR)$(DOCDIR)
+       cp -R man1 $(DESTDIR)$(MANDIR)
+       cp -R man5 $(DESTDIR)$(MANDIR)
+       [ ! -d html ] || cp -R html $(DESTDIR)$(DOCDIR)
 
 html/index.html: $(DOC_HTML) ./gen-html-index INDEX
        perl -w -- ./gen-html-index -i INDEX html $(DOC_HTML)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.