$NetBSD: patch-Makefile,v 1.1 2017/02/16 14:47:57 gdt Exp $ Honor PKGMANDIR. Avoid gzipping man pages. --- Makefile.orig 2015-11-08 17:18:51.000000000 +0000 +++ Makefile @@ -16,7 +16,7 @@ LDLIBS := $(PCSC_LDLIBS) BIN = pcsc_scan BIN_SCRIPT = ATR_analysis gscriptor scriptor -MAN = pcsc_scan.1.gz gscriptor.1p.gz scriptor.1p.gz ATR_analysis.1p.gz +MAN = pcsc_scan.1 gscriptor.1p scriptor.1p ATR_analysis.1p all: $(BIN) $(MAN) @@ -31,17 +31,18 @@ install: all install -d $(DESTDIR)/share/pcsc install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc - install -d $(DESTDIR)/share/man/man1/ - install -m 644 $(MAN) $(DESTDIR)/share/man/man1/ + install -d $(DESTDIR)/${PKGMANDIR}/man1/ + install -m 644 $(MAN) $(DESTDIR)/${PKGMANDIR}/man1/ clean: rm -f pcsc_scan.o $(BIN) $(MAN) -%.1.gz: %.1 - gzip --best $^ --to-stdout > $@ +# Avoid gzip man files. +$%.1.gz: %.1 +# gzip --best $^ --to-stdout > $@ -%.1p.gz: %.1p - gzip --best $^ --to-stdout > $@ +#%.1p.gz: %.1p +# gzip --best $^ --to-stdout > $@ .PHONY: clean all install Changelog