All of lore.kernel.org
 help / color / mirror / Atom feed
* another trivial build fix
@ 2013-04-17  9:03 Patrick Welche
  2013-04-17  9:33 ` Roger Pau Monné
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Welche @ 2013-04-17  9:03 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

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.

Cheers,

Patrick

[-- Attachment #2: 0001-Don-t-use-non-portable-cp-d-flag-unnecessarily-no-li.patch --]
[-- Type: text/plain, Size: 899 bytes --]

>From 6b274ae02e3f93709244f2af8aaa32128eca2137 Mon Sep 17 00:00:00 2001
From: Patrick Welche <prlw1@cam.ac.uk>
Date: Wed, 17 Apr 2013 09:59:38 +0100
Subject: [PATCH] Don't use non-portable cp -d flag unnecessarily (no links are
 involved)

---
 docs/Makefile | 6 +++---
 1 file 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)
-- 
1.8.2.1


[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-17 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17  9:03 another trivial build fix Patrick Welche
2013-04-17  9:33 ` Roger Pau Monné
2013-04-17 10:34   ` Patrick Welche
2013-04-17 13:00     ` George Dunlap
2013-04-17 15:01     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.