--- a/Makefile Wed Apr 20 14:08:00 2016 +0200 +++ b/Makefile Mon May 23 12:12:53 2016 +0200 @@ -36,6 +36,8 @@ # CONF=gcc +PREFIX=/usr +DESTDIR=$(PREFIX) include $(CONF).mk @@ -65,5 +67,11 @@ clean: FORCE $(RM) $(RMFLAGS) -R build/ +install: + @echo "install to $(DESTDIR)" + ./install-sh -d $(DESTDIR)/bin + ./install-sh build/dav $(DESTDIR)/bin + ./install-sh build/dav-sync $(DESTDIR)/bin + FORCE: