[PATCH Precise/Trusty/Utopic/Vivid SRU] UBUNTU: [Debian] Fix linux-doc dangling symlinks
Tim Gardner
tim.gardner at canonical.com
Tue Oct 28 12:17:55 UTC 2014
On 10/28/2014 06:11 AM, Chris J Arges wrote:
>
>
> 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
>
rsync is already in use (and has been for awhile). I guess it must be
safe 'cause I've not had a build error because of it. I'll go look to
see what build dependency drags in rsync.
rtg
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list