Skip to contentSkip to conversation

another trivial build fix

PATCH Patrick Welche 4 participants 5 messages Apr 17, 2013

lore
Share & tools
lore
#0 lore raw

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

Quoted 1 line

From 6b274ae02e3f93709244f2af8aaa32128eca2137 Mon Sep 17 00:00:00 2001

From: Patrick Welche <[email protected]>
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(-)
docs/Makefile +3 -3
index fdebae8..5f319a1 100644
@@ -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)
Signature · 1 line
1.8.2.1

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 8 lines · Patrick Welche

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

Quoted 8 lines

0001-Don-t-use-non-portable-cp-d-flag-unnecessarily-no-li.patch

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

Again, the SoB is missing, also, could you include the description on the email to the patch description?

Thanks, Roger.

Quoted 23 lines
---
 docs/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/Makefile +3 -4
index fdebae8..5f319a1 100644
@@ -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 
#2 lore raw
Quoted 2 lines · Roger Pau Monn

Again, the SoB is missing, also, could you include the description on the email to the patch description?

OK - should I have added an Ack from you?

Cheers,

Patrick

Quoted 1 line

From a73c140a4e7b35735b08d41431a13e54053d3f50 Mon Sep 17 00:00:00 2001

From: Patrick Welche <[email protected]>
Date: Wed, 17 Apr 2013 09:59:38 +0100
Subject: [PATCH 2/2] 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.

---
 docs/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/Makefile +3 -3
index fdebae8..5f319a1 100644
@@ -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)
Signature · 1 line
1.8.2.1

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by
#3 lore raw
Quoted 5 lines · Patrick Welche
Quoted 2 lines · Roger Pau Monn

Again, the SoB is missing, also, could you include the description on the email to the patch description?

From a release perspective:

#4 lore raw
In reply to Patrick Welche
Quoted 3 lines · Patrick Welche
Quoted 2 lines · Roger Pau Monn

Again, the SoB is missing, also, could you include the description on the email to the patch description?

acked + Applied