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

Chris J Arges chris.j.arges at canonical.com
Tue Oct 28 12:11:01 UTC 2014



On 10/27/2014 03:17 PM, tim.gardner at canonical.com wrote:
> 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/; \

If you use rsync will you need to add another build-dependency to this
package? Can this be accomplished with a coreutil?
--chris



>  		rm -rf $(docdir)/$(doc_pkg_name)-tmp; \
>  	fi
>  endif
> 




More information about the kernel-team mailing list