mirror of
https://github.com/rclone/rclone.git
synced 2025-08-10 14:17:58 +02:00
Makefile: Prevent doc
recipe from creating dir named '$HOME'
Prior to this commit, running `make doc` had the unwanted side effect of creating a directory literally named `$HOME` in the source tree. Fixed #8092
This commit is contained in:
committed by
Nick Craig-Wood
parent
f8d782c02d
commit
353270263a
@ -21,12 +21,12 @@ def find_backends():
|
||||
def output_docs(backend, out, cwd):
|
||||
"""Output documentation for backend options to out"""
|
||||
out.flush()
|
||||
subprocess.check_call(["./rclone", "help", "backend", backend], stdout=out)
|
||||
subprocess.check_call(["./rclone", "--config=/notfound", "help", "backend", backend], stdout=out)
|
||||
|
||||
def output_backend_tool_docs(backend, out, cwd):
|
||||
"""Output documentation for backend tool to out"""
|
||||
out.flush()
|
||||
subprocess.call(["./rclone", "backend", "help", backend], stdout=out, stderr=subprocess.DEVNULL)
|
||||
subprocess.call(["./rclone", "--config=/notfound", "backend", "help", backend], stdout=out, stderr=subprocess.DEVNULL)
|
||||
|
||||
def alter_doc(backend):
|
||||
"""Alter the documentation for backend"""
|
||||
|
Reference in New Issue
Block a user