patch-Makefile 853 B

123456789101112131415161718192021222324252627
  1. $OpenBSD: patch-Makefile,v 1.2 2015/11/12 16:41:04 sthen Exp $
  2. --- Makefile.orig Sun Nov 8 17:18:51 2015
  3. +++ Makefile Tue Nov 10 15:51:55 2015
  4. @@ -16,7 +16,9 @@ LDLIBS := $(PCSC_LDLIBS)
  5. BIN = pcsc_scan
  6. BIN_SCRIPT = ATR_analysis gscriptor scriptor
  7. -MAN = pcsc_scan.1.gz gscriptor.1p.gz scriptor.1p.gz ATR_analysis.1p.gz
  8. +MAN1 = pcsc_scan.1
  9. +MAN1P = gscriptor.1p scriptor.1p ATR_analysis.1p
  10. +MAN = $(MAN1) $(MAN1P)
  11. all: $(BIN) $(MAN)
  12. @@ -31,8 +33,9 @@ install: all
  13. install -d $(DESTDIR)/share/pcsc
  14. install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc
  15. - install -d $(DESTDIR)/share/man/man1/
  16. - install -m 644 $(MAN) $(DESTDIR)/share/man/man1/
  17. + install -d $(DESTDIR)/man/man1/ $(DESTDIR)/man/man1p/
  18. + install -m 644 $(MAN1) $(DESTDIR)/man/man1/
  19. + install -m 644 $(MAN1P) $(DESTDIR)/man/man1p/
  20. clean:
  21. rm -f pcsc_scan.o $(BIN) $(MAN)