do not install compressed manpages

Fix #317

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2024-02-19 14:59:57 +01:00
parent 99fc835e9c
commit ac45f09af3

View File

@@ -44,13 +44,11 @@ install:
@cp manpages/grub-btrfs.8.man ${TEMP_DIR}/grub-btrfs.8 @cp manpages/grub-btrfs.8.man ${TEMP_DIR}/grub-btrfs.8
@if test "$(INSTALL_DOCS)" = true; then \ @if test "$(INSTALL_DOCS)" = true; then \
echo "Installing manpages..."; \ echo "Installing manpages..."; \
bzip2 ${TEMP_DIR}/grub-btrfs.8; \ install -Dm644 -t "${MAN_DIR}/man8" "${TEMP_DIR}/grub-btrfs.8"; \
install -Dm644 -t "${MAN_DIR}/man8" "${TEMP_DIR}/grub-btrfs.8.bz2"; \
fi fi
@cp manpages/grub-btrfsd.8.man ${TEMP_DIR}/grub-btrfsd.8 @cp manpages/grub-btrfsd.8.man ${TEMP_DIR}/grub-btrfsd.8
@if test "$(INSTALL_DOCS)" = true; then \ @if test "$(INSTALL_DOCS)" = true; then \
bzip2 ${TEMP_DIR}/grub-btrfsd.8; \ install -Dm644 -t "${MAN_DIR}/man8" "${TEMP_DIR}/grub-btrfsd.8"; \
install -Dm644 -t "${MAN_DIR}/man8" "${TEMP_DIR}/grub-btrfsd.8.bz2"; \
fi fi
@install -Dm755 -t "$(DESTDIR)/etc/grub.d/" 41_snapshots-btrfs @install -Dm755 -t "$(DESTDIR)/etc/grub.d/" 41_snapshots-btrfs
@install -Dm644 -t "$(DESTDIR)/etc/default/grub-btrfs/" config @install -Dm644 -t "$(DESTDIR)/etc/default/grub-btrfs/" config