aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 46328b45c01ae50003af5081b78db0ffca3f2f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PREFIX=/usr/local

MAKEFILE_DIR=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
MEDIA=$(wildcard $(MAKEFILE_DIR)/media/*)

all: help

help:
	@echo "Usage (root access required):"
	@echo "* make install"

install: $(MEDIA)
	@echo "Installing audio test files $(notdir $(MEDIA)) into $(DESTDIR)/media"
	mkdir -p $(DESTDIR)/media
	install $(MEDIA) -m 750 $(DESTDIR)/media

clean:
	@rm -vf $(SCRIPTS)