[PATCH Precise/Trusty/Utopic/Vivid SRU] UBUNTU: [Debian] Fix linux-doc dangling symlinks

tim.gardner at canonical.com tim.gardner at canonical.com
Mon Oct 27 20:17:10 UTC 2014


From: Tim Gardner <tim.gardner at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/661306

Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
 debian/rules.d/3-binary-indep.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules.d/3-binary-indep.mk b/debian/rules.d/3-binary-indep.mk
index 78909b8..1e7bc9b 100644
--- a/debian/rules.d/3-binary-indep.mk
+++ b/debian/rules.d/3-binary-indep.mk
@@ -42,8 +42,9 @@ ifeq ($(do_doc_package_content),true)
 	if [ -z "$(AUTOBUILD)" ]; then \
 		install -d $(docdir)/$(doc_pkg_name)-tmp; \
 		$(kmake) O=$(docdir)/$(doc_pkg_name)-tmp htmldocs; \
-		mv $(docdir)/$(doc_pkg_name)-tmp/Documentation/DocBook \
-			$(docdir)/html; \
+		install -d $(docdir)/html; \
+		rsync -aL $(docdir)/$(doc_pkg_name)-tmp/Documentation/DocBook/ \
+			$(docdir)/html/; \
 		rm -rf $(docdir)/$(doc_pkg_name)-tmp; \
 	fi
 endif
-- 
1.9.1





More information about the kernel-team mailing list