2 Commits
Author SHA1 Message Date
nortega 449a4bd2a6 Simplify install script gzip command. 2025-12-04 09:50:20 +01:00
nortega 8a81df1006 Ignore compressed manpage. 2025-12-04 09:48:58 +01:00
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
/target
/indivisible.1.gz
+2 -1
View File
@@ -10,7 +10,8 @@ PREFIX="/usr/local"
echo "Installing ./target/release/indivisible to $PREFIX/bin/"
install -m 755 ./target/release/indivisible $PREFIX/bin/
gzip -c indivisible.1 > indivisible.1.gz
gzip -k indivisible.1
echo "Installing manpage to $PREFIX/share/man/man1/"
install -m 644 indivisible.1.gz $PREFIX/share/man/man1/
# clean up compressed file
rm indivisible.1.gz