2018-08-15 23:26:19 +02:00
|
|
|
--- Makefile.orig 2018-06-15 17:47:17 UTC
|
2016-05-26 21:55:12 +02:00
|
|
|
+++ Makefile
|
2018-08-15 23:26:19 +02:00
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
# set gcc as default if CC is not set
|
2011-06-21 17:52:37 +02:00
|
|
|
|
2016-05-26 21:55:12 +02:00
|
|
|
-GIT_VERSION = $(shell git describe --tags --always --dirty=-wip)
|
|
|
|
+#GIT_VERSION = $(shell git describe --tags --always --dirty=-wip)
|
2011-06-21 17:52:37 +02:00
|
|
|
|
2016-05-26 21:55:12 +02:00
|
|
|
# Ugly hack to get version if git isn't installed
|
|
|
|
ifeq ($(GIT_VERSION),)
|
2018-08-15 23:26:19 +02:00
|
|
|
@@ -25,7 +25,7 @@ endif
|
2011-06-21 17:52:37 +02:00
|
|
|
|
2016-05-26 21:55:12 +02:00
|
|
|
SRCS = sslscan.c
|
|
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
-MANDIR = $(PREFIX)/share/man
|
|
|
|
+MANDIR = $(PREFIX)/man
|
|
|
|
MAN1DIR = $(MANDIR)/man1
|
|
|
|
|
2018-08-15 23:26:19 +02:00
|
|
|
WARNINGS = -Wall -Wformat=2 -Wformat-security
|
|
|
|
@@ -101,6 +101,9 @@ ifeq ($(OS), Darwin)
|
2016-05-26 21:55:12 +02:00
|
|
|
install sslscan $(DESTDIR)$(BINDIR)/sslscan;
|
2017-02-06 13:55:02 +01:00
|
|
|
install -d $(DESTDIR)$(MAN1DIR)/;
|
2016-05-26 21:55:12 +02:00
|
|
|
install sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1;
|
|
|
|
+else ifeq ($(OS), FreeBSD)
|
|
|
|
+ install -s -m 755 sslscan $(DESTDIR)$(BINDIR)
|
|
|
|
+ install -m 644 sslscan.1 $(DESTDIR)$(MAN1DIR)
|
|
|
|
else
|
|
|
|
install -D sslscan $(DESTDIR)$(BINDIR)/sslscan;
|
|
|
|
install -D sslscan.1 $(DESTDIR)$(MAN1DIR)/sslscan.1;
|