tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit 23b6011c33c348b91ef6bc8fe72301fd26b13feb
parent 23ef591e4b8b6801809d8b44f381b7b938707d43
Author: Artem Kobets <artem@akobets.xyz>
Date:   Thu,  3 Sep 2020 19:50:18 +0300

Makefile

Diffstat:
MMakefile | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,8 @@ VERSION = 0.0.1 PREFIX = /usr/local -MANPREFIX = $(PREFIX)/share/man +BINDIR = $(PREFIX)/bin +MANDIR = $(PREFIX)/share/man LIBS = -ltls @@ -31,11 +32,11 @@ clean: rm -f tlsgate $(OBJ) install: tlsgate - mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f tlsgate $(DESTDIR)$(PREFIX)/bin - mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - cp -f tlsgate.1 $(DESTDIR)$(MANPREFIX)/man1 + mkdir -p $(DESTDIR)$(BINDIR) + cp -f tlsgate $(DESTDIR)$(BINDIR) + mkdir -p $(DESTDIR)$(MANDIR)/man1 + cp -f tlsgate.1 $(DESTDIR)$(MANDIR)/man1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/tlsgate - rm -f $(DESTDIR)$(MANPREFIX)/man1/tlsgate.1 + rm -f $(DESTDIR)$(BINDIR)/tlsgate + rm -f $(DESTDIR)$(MANDIR)/man1/tlsgate.1