diff options
author | June McEnroe <june@causal.agency> | 2020-05-19 15:41:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-05-19 15:41:15 -0400 |
commit | 0cf277f17f9a09996355c09cdd477e7813e97ac2 (patch) | |
tree | c288f9d0e38ec89df6c0255e9873a71e8193aa1e /Makefile | |
parent | Clarify or otherwise expand documentation (diff) | |
download | pounce-0cf277f17f9a09996355c09cdd477e7813e97ac2.tar.gz pounce-0cf277f17f9a09996355c09cdd477e7813e97ac2.zip |
Revert compression of man pages for installation 1.3
Better to leave this up to the packager to do, as FreeBSD ports does, for example.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
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 |