# along with finddup. If not, see <http://www.gnu.org/licenses/>.
#
-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
$(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