Note, this patch is for libtraceevent.And I think it makes more sense to port the missing scripts/utilities.mak by the maintainer rather than sending a patchset with lots of historical commits from kernel, so I did not include that part here.
HTH. On 10/8/20 3:18 PM, sztsian@xxxxxxxxx wrote:
From: "Ziqian SUN (Zamir)" <sztsian@xxxxxxxxx> Compiling the docs with `make doc` will result in Makefile:2: ../../../scripts/utilities.mak: No such file or directory This is caused by: * The reference should be two level up, rather than three * The utilities.mak is missing when fork the library out This patch fixes the first issue by adjusting the include level. And I think the porting of utilities.mak is better to be done separately. Signed-off-by: Ziqian SUN (Zamir) <sztsian@xxxxxxxxx> --- Documentation/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index aa72ab9..edb8623 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,5 +1,5 @@ -include ../../../scripts/Makefile.include -include ../../../scripts/utilities.mak +include ../scripts/Makefile.include +include ../scripts/utilities.mak# This Makefile and manpage XSL files were taken from tools/perf/Documentation# and modified for libtraceevent.
-- Zamir SUN Fedora user GPG : 1D86 6D4A 49CE 4BBD 72CF FCF5 D856 6E11 F2A0 525E