From: Francois Fleuret Date: Mon, 27 Aug 2018 05:56:04 +0000 (+0200) Subject: Now installs in /usr/local/ X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=700eb9e3d89e59dba8c0a2c8327990edb6991d50;p=finddup.git Now installs in /usr/local/ --- diff --git a/Makefile b/Makefile index 7af163a..fc6b97b 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,8 @@ # along with finddup. If not, see . # -BINARY_PATH = $(DESTDIR)/usr/bin -MAN_PATH = $(DESTDIR)/usr/share/man/man1 +BINARY_PATH = $(DESTDIR)/usr/local/bin +MAN_PATH = $(DESTDIR)/usr/local/share/man/man1 ifeq ($(WITH_MD5),yes) LDFLAGS=-lssl @@ -48,6 +48,7 @@ finddup: finddup.o $(CC) -o $@ $^ $(LDFLAGS) install: finddup + mkdir -p $(BINARY_PATH) $(MAN_PATH) install -m 755 finddup $(BINARY_PATH) install -m 644 finddup.1 $(MAN_PATH) gzip $(MAN_PATH)/finddup.1