~dricottone/my-utils

ref: 581955c8fa8a187f983dc223c947f12e9f9ad474 my-utils/sound/Makefile -rw-r--r-- 740 bytes
581955c8Dominic Ricottone Fix mktar 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
BIN_DIR?=/usr/local/bin
LIB_DIR?=/usr/local/lib
COMP_DIR?=/usr/local/etc/bash_completion.d

.PHONY: install uninstall test clean

install:
	install -m755 pactl-get-running-sink $(BIN_DIR)/pactl-get-running-sink
	install -m755 pactl-mute $(BIN_DIR)/pactl-mute
	install -m755 pactl-volume-down $(BIN_DIR)/pactl-volume-down
	install -m755 pactl-volume-printf $(BIN_DIR)/pactl-volume-printf
	install -m755 pactl-volume-up $(BIN_DIR)/pactl-volume-up

uninstall:
	rm $(BIN_DIR)/pactl-get-running-sink
	rm $(BIN_DIR)/pactl-mute
	rm $(BIN_DIR)/pactl-volume-down
	rm $(BIN_DIR)/pactl-volume-printf
	rm $(BIN_DIR)/pactl-volume-up

test: clean
	#shellcheck *.bash *.sh $(LIB_DIR)/mylib.bash $(LIB_DIR)/myparse.bash $(LIB_DIR)/myminiparse.sh

clean: