Makefile

changeset 239
56f91e0de57b
parent 185
cd42cccee550
child 240
220ea6247077
--- 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:
 

mercurial