Consolidated generation scripts + lv_api_do compilation into gen_all.bash

This commit is contained in:
Jesse Gardner 2021-07-14 15:05:20 -07:00
parent 4c8a86bc75
commit ad5f788092
3 changed files with 598 additions and 592 deletions

View File

@ -4,7 +4,7 @@
declare -a arc_files=( qq2clone lv_api_do qq2clone.1 declare -a arc_files=( qq2clone lv_api_do qq2clone.1
qq2clone-completion.bash ) qq2clone-completion.bash )
declare -a req_files=( "${arc_files[@]}" inst_fragment.bash ) declare -a req_files=( "${arc_files[@]}" inst_fragment.bash lv_api_do.c man.pandoc )
has_req=1 has_req=1
for file in "${req_files[@]}"; do for file in "${req_files[@]}"; do
@ -28,3 +28,12 @@ echo "Generating script"
cat inst_fragment.bash cat inst_fragment.bash
} > qq2clone_installer.bash } > qq2clone_installer.bash
chmod +x qq2clone_installer.bash chmod +x qq2clone_installer.bash
# Generate manual from pandoc source in two formats
echo "Generating manual"
pandoc -s -f markdown -t markdown_strict -o man.md man.pandoc
pandoc -s -f markdown -t man -o qq2clone.1 man.pandoc
# Compile lv_api_do
echo "Compiling lv_api_do"
gcc lv_api_do.c -o lv_api_do -lvirt

View File

@ -1,3 +0,0 @@
#!/bin/bash
pandoc -s -f markdown -t markdown_strict -o man.md man.pandoc
pandoc -s -f markdown -t man -o qq2clone.1 man.pandoc

File diff suppressed because it is too large Load Diff