5b42ed3791
Summary of upstream changelog: bug fixes many new ATRs ATR_analysis: propose to submit the ATR if not known We propose to submit the ATR at http://smartcard-atr.appspot.com/ when the ATR is not found in the list. The message is always displayed for an unknown ATR, not just after the list has been updated. ATR_analysis: correctly use wget to store the ATR list
41 lines
1 KiB
Text
41 lines
1 KiB
Text
$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
|
|
|