From 8aee9bfc7c36789e4d3a0003866d00703059d3ae Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Thu, 1 Aug 2024 21:38:47 -0400 Subject: [PATCH] Fix error with missing files --- wolfHSM/Makefile | 8 ++------ wolfTPM/Makefile | 4 ---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/wolfHSM/Makefile b/wolfHSM/Makefile index 8321a05d..1edff804 100644 --- a/wolfHSM/Makefile +++ b/wolfHSM/Makefile @@ -48,15 +48,11 @@ html-prep: api $(Q)cp src/*.png build/html/ $(Q)cp -a api/md/*8h* build/html/ - $(Q)perl -i -pe "s/\[(.*?)\]\(Classes\/.*?.md\)/\[\1\]\(#typedef-\1\)/g" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#function\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#typedef\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#enum\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/\/group_/group_/g" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/\/tpm2_/tpm2_/g" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/dox_comments\/header_files\///" build/html/*8h* - $(Q)cat src/appendix01.md build/pdf/wh__*8h*.md > build/html/appendix01.md + $(Q)cp src/appendix01.md build/html/appendix01.md # Set input format to gfm to fix issues with converted API docs # Regexes: @@ -85,4 +81,4 @@ pdf-prep: api $(Q)perl -i -pe "s/(?<=md\#typedef\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/pdf/*.md $(Q)perl -i -pe "s/(?<=md\#enum\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/pdf/*.md - $(Q)cat src/appendix01.md build/pdf/wh__*8h*.md > build/pdf/appendix01.md + $(Q)cp src/appendix01.md build/pdf/appendix01.md diff --git a/wolfTPM/Makefile b/wolfTPM/Makefile index be65b828..0b830cb2 100644 --- a/wolfTPM/Makefile +++ b/wolfTPM/Makefile @@ -52,10 +52,6 @@ html-prep: api endif $(Q)rm -rf build/html/chapter05.md - $(Q)perl -i -pe "s/\[(.*?)\]\(Classes\/.*?.md\)/\[\1\]\(#typedef-\1\)/g" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#function\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#typedef\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* - $(Q)perl -i -pe "s/(?<=md\#enum\-)(.*)(?=\))/\$$1=~s#-#_#gr/ge" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/\/group_/group_/g" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/\/tpm2_/tpm2_/g" build/html/group* build/html/*8h* $(Q)perl -i -pe "s/dox_comments\/header_files\///" build/html/*8h*