Don't destroy fzifdso manuals on CI

This commit is contained in:
наб 2024-03-29 13:31:38 +01:00
parent 48bebe9be3
commit dcf545a6f6
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -35,7 +35,7 @@ tasks:
sudo sh -c 'curl https://git.sr.ht/~nabijaczleweli/groff-1.23-unfucking/blob/trunk/mdoc.local >> /etc/groff/mdoc.local'
git -C tzpfms/ worktree add ../tzpfms-man man
cd tzpfms-man
git ls-tree -z --name-only HEAD | xargs -0 rm -r
git ls-tree -z --name-only HEAD | grep -z tpm | xargs -0 rm -r
cp -pr ../tzpfms/out/man/* .
sed -e 's/…/.../g' $(ls *.[12345678] | awk -F. '{print $2 "\t" $1}' | sort | awk -F'\t' '{print $2 "." $1}') | groff -K utf8 -tpe -mdoc -Tps -dpaper=a4 -P-pa4 > tzpfms.ps
ps2pdf -sPAPERSIZE=a4 tzpfms.ps tzpfms.pdf