Skip to content

Commit

Permalink
Fix error with missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Aug 2, 2024
1 parent f5f04f0 commit 8aee9bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 2 additions & 6 deletions wolfHSM/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
4 changes: 0 additions & 4 deletions wolfTPM/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit 8aee9bf

Please sign in to comment.