From 0cf277f17f9a09996355c09cdd477e7813e97ac2 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 19 May 2020 15:41:15 -0400 Subject: Revert compression of man pages for installation Better to leave this up to the packager to do, as FreeBSD ports does, for example. --- .gitignore | 1 - Makefile | 9 +++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 6c8280c..c66cc95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -*.1.gz *.conf *.o calico diff --git a/Makefile b/Makefile index 0f6a8d8..9cb5796 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ CFLAGS += -std=c11 -Wall -Wextra -Wpedantic LDLIBS = -lcrypt -ltls BINS = calico pounce -MANS = ${BINS:=.1.gz} +MANS = ${BINS:=.1} RCS = ${BINS:%=rc.d/%} DIRS = ${ETCDIR}/pounce ${RUNDIR}/calico INSTALLS = install-rcs install-dirs @@ -39,10 +39,7 @@ ${OBJS}: bounce.h compat.h dispatch.o: compat.h -.SUFFIXES: .1 .1.gz .in - -.1.1.gz: - gzip -cn $< > $@ +.SUFFIXES: .in .in: sed -e 's|%%PREFIX%%|${PREFIX}|g' $< > $@ @@ -51,7 +48,7 @@ tags: *.c *.h ctags -w *.c *.h clean: - rm -f tags ${BINS} ${MANS} ${RCS} ${OBJS} dispatch.o + rm -f tags ${BINS} ${RCS} ${OBJS} dispatch.o install: ${BINS} ${MANS} ${INSTALLS} install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1 -- cgit 1.4.1