mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-23 11:26:16 +00:00
add install target
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user