--- a/Makefile Fri Dec 09 10:55:18 2016 +0100 +++ b/Makefile Fri Dec 16 17:16:16 2016 +0100 @@ -38,7 +38,6 @@ CONF=gcc PREFIX=/usr -DESTDIR=$(PREFIX) include $(CONF).mk @@ -75,10 +74,10 @@ $(RM) $(RMFLAGS) -R build/ install: FORCE - @echo "install to $(DESTDIR)" - ./install-sh -d $(DESTDIR)/bin - ./install-sh build/dav $(DESTDIR)/bin - ./install-sh build/dav-sync $(DESTDIR)/bin + @echo "install to $(DESTDIR)$(PREFIX)" + ./install-sh -d $(DESTDIR)$(PREFIX)/bin + ./install-sh build/dav $(DESTDIR)$(PREFIX)/bin + ./install-sh build/dav-sync $(DESTDIR)$(PREFIX)/bin FORCE: