summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-07-21 16:17:44 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2019-04-24 14:18:11 +0200
commite8b23b37394800332baf1ffc9b9777c67dc664cd (patch)
treec044db0ab9d1164c9f6c1ca4b2e3e28beeca3ca4 /Makefile
parent28e86894895d16d1a707fd218990a0a58403bee8 (diff)
change media paths
Change-Id: I0d4783d37da25a315073eb847c7f525ed1b51d5c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 65393e0..906432b 100644
--- a/Makefile
+++ b/Makefile
@@ -14,13 +14,13 @@ help:
@echo "* make install DESTDIR=/usr"
@echo " changes the destination dir (in this example, the scripts will be installed in /usr/bin)"
-install: $(MEDIA)
+install: $(SCRIPTS) $(MEDIA)
@echo "Installing audio scripts $(notdir $(SCRIPTS)) into $(DESTDIR)/bin"
mkdir -p $(DESTDIR)/bin
install $(SCRIPTS) -m 750 $(DESTDIR)/bin
- @echo "Installing audio test files $(notdir $(MEDIA)) into $(DESTDIR)/media"
- mkdir -p $(DESTDIR)/media
- install $(MEDIA) -m 640 $(DESTDIR)/media
+ @echo "Installing audio test files $(notdir $(MEDIA)) into $(DESTDIR)/4a/media"
+ mkdir -p $(DESTDIR)/4a/media
+ install $(MEDIA) -m 640 $(DESTDIR)/4a/media
clean:
@echo "Cleanup done."