Skip to content

Commit

Permalink
tidy the build script
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford committed Apr 14, 2024
1 parent a9463d9 commit 6bde83b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build_manuals
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
#!/bin/sh

#../quickemu --help >quickemu.1-14-AllquickemuOptions-02coggged.md
#cog -e XXquickemu.1-14-AllquickemuOptions-02coggged.md > quickemu.1-14-AllquickemuOptions-02coggged.md

cp XXquickemu.1-14-AllquickemuOptions-02coggged.md quickemu.1-14-AllquickemuOptions-02coggged.md

# TODO: try build with just the comments and only cog after cp ..
# from ..
../quickget list_csv | awk -F"," '{print "* `" $2 "` ("$1")" }' |grep -e buntu |sort -u >quickemu.1-07-Ubuntus02-generated.md
../quickget list_csv | awk -F"," '{print "* `" $2 "` ("$1")" }' |grep -v -e 'Display Name' -e windows -e macos -e buntu |sort -u >quickemu.1-08-OtherOperatingSystems02-generated.md

echo quickemu.1-* > quickemu.lst
echo quickget.1-00-header.md quickemu.1-0[7-9]* quickemu.1-1[0-3]* quickget.1-09-footer.md > quickget.lst
# Readme header gets borked by pandoc
# and now pandoc munches cog comments

echo quickemu.1-0[4-5]* README-06-Install.md quickemu.1-0[6-9]* \
quickemu.1-1[0-3]* quickemu_conf.1-01-spiceheadless.md README-135-accessibility.md README-135-confoptions.md quickemu.1-1[4-9]* quickemu.1-2* > README.lst
Expand All @@ -33,8 +28,7 @@ pandoc -s $(cat README.lst) -f markdown -t markdown | grep -v '{=html}' > READM
cat README-00-hdr.md README_main.md >../README.md
( cd .. ; cog -r README.md )

##Previously the list was generated:
#$(grep -l '^date: ' *)

## strip the cog for docs and manuals
#cog has to run using the right quickemu
ln -sf ../quickemu .
Expand Down

0 comments on commit 6bde83b

Please sign in to comment.