add install target

This commit is contained in:
Jan-Piet Mens
2015-09-11 14:13:10 +02:00
parent e80b3a1df1
commit 7922e2adc1
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -90,3 +90,8 @@ clobber: clean
mdb/liblmdb.a:
(cd mdb && make)
install: ot-recorder ocat
mkdir -p $(BUILDROOT)$(INSTALLDIR)/{bin,sbin}
mkdir -p $(STORAGEDEFAULT)
install --mode 0755 ot-recorder $(BUILDROOT)$(INSTALLDIR)/sbin
install --mode 0755 ocat $(BUILDROOT)$(INSTALLDIR)/bin
+2
View File
@@ -1,5 +1,7 @@
# Select features you want. Default is fine for most installations
INSTALLDIR = /usr/local
# Do you want recorder's built-in HTTP REST API?
HAVE_HTTP ?= yes