]> git.itanic.dy.fi Git - BME280_driver/commitdiff
Makefile: Add install target for bmed
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 9 Mar 2021 13:47:46 +0000 (15:47 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 9 Mar 2021 13:47:46 +0000 (15:47 +0200)
Install bmed and bmed.service files into the system

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Makefile

index 8198f3c318297faa0de5d4530f8730be49bd6b54..8c125c5f015c482fb5d614919dfa228fa6aafcff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,3 +25,7 @@ FORCE:
 
 TAGS: FORCE
        etags *.[ch]
+
+install: bmed
+       install bmed $(DEST)/usr/bin
+       install -m 644 bmed.service $(DEST)/lib/systemd/system