Workaround for CentOS 7 gzip

The CentOS 7 gzip doesn't have `--keep`.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2023-10-08 01:03:17 -06:00
committed by Christian Goll
parent 77f1bd6797
commit 0d3eeb09e5

View File

@@ -68,7 +68,7 @@ man_pages: wwctl $(wildcard docs/man/man5/*.5)
mkdir -p docs/man/man1
./wwctl --emptyconf genconfig man docs/man/man1
gzip --force docs/man/man1/*.1
gzip --force --keep docs/man/man5/*.5
for manpage in docs/man/man5/*.5; do gzip <$${manpage} >$${manpage}.gz; done
etc/defaults.conf: wwctl
./wwctl --emptyconf genconfig defaults >etc/defaults.conf