summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-22 12:07:01 -0800
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-22 12:07:01 -0800
commit7d789db3ab562e23fbd244a97722daf281714626 (patch)
tree6ca0be5bbe72b2ba8151270d8da10d40294abe14 /Makefile
parentc6903fb83345b43c047fd27390b6332243443876 (diff)
parent15646255321f478dd53502cb26f60b26d1339cea (diff)
downloadrvi_core-7d789db3ab562e23fbd244a97722daf281714626.tar.gz
Merged from release-0.4.0-yocto_makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e98465e..39e47c3 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@
SCRIPTS=scripts/setup_gen \
scripts/author
-VERSION=0.4.0
+VERSION=0.5.0
all: deps compile escript
@@ -62,11 +62,16 @@ rpm_tarball: rpmclean clean
tar czf /tmp/rvi_core-$(VERSION).tgz BUILD.md CONFIGURE.md doc \
LICENSE Makefile README.md rebar rebar.config rel \
RELEASE.md rpm scripts/setup_gen scripts/rvi \
- scripts/rvi.service scripts/rvi_node.sh components \
- rvi_sample.config scripts/setup_rvi_node.sh src \
- tizen.config TODO
+ scripts/rvi.service scripts/rvi_node.sh scripts/rvi.sh \
+ components rvi_sample.config scripts/setup_rvi_node.sh src \
+ TODO
mv /tmp/rvi-$(VERSION).tgz ./rpm/SOURCES/
rpm: rpm_tarball
rpmbuild --define "_topdir $$PWD/rpm" -ba rpm/SPECS/rvi-$(VERSION).spec
+
+install: # deps compile
+ ./scripts/rvi_install.sh $(DESTDIR)/opt/rvi
+ install --mode=0755 -d $(DESTDIR)/etc/opt/rvi/
+ install --mode=0644 rvi_yocto.config $(DESTDIR)/etc/opt/rvi/rvi.config