From: Armaan Bhojwani Date: Mon, 15 Feb 2021 15:22:32 +0000 (-0500) Subject: Rm the manpages from within the for loop X-Git-Url: https://git.armaanb.net/?p=lightcards-http.git;a=commitdiff_plain;h=8240e6d909f32fc58866bc86ea5352e8ea79d82d Rm the manpages from within the for loop --- diff --git a/.gitignore b/.gitignore index ca441ef..2ce405f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.min.* +index.html diff --git a/convert b/convert index 23c9457..88ec1d2 100755 --- a/convert +++ b/convert @@ -5,10 +5,9 @@ curl -O https://git.sr.ht/~armaan/lightcards/blob/main/man/lightcards-config.5 find . -type f -name 'lightcards**' -not -name '*min*' | \ while read i; do - groff -mandoc -Thtml ${i} > ${i}.html + groff -mandoc -T html ${i} > ${i}.html minify ${i}.html > ${i}.min.html - rm ${i}.html + rm ${i}.html ${i} done minify index-raw.html > index.html -rm lightcards.1 lightcards-config.5