summaryrefslogtreecommitdiff
path: root/Makefile
blob: ac8f7c5e262b3c69be21d0f62421f65d6fb2f1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BINDIR = $(HOME)/bin

TARGETS = mkheader.py isprime multi-send-key perm.py

all: $(TARGETS)
	@echo "Nothing to be done"

install:
	@echo "Installing the following scripts to $(BINDIR)"
	@echo " $(TARGETS)"
	@mkdir -p $(BINDIR)
	@install -m755 -t $(BINDIR) $(TARGETS)

uninstall:
	@echo "Uninstalling the following scripts from $(BINDIR):"
	@echo " $(TARGETS)"
	@rmdir --ignore-fail-on-non-empty $(BINDIR)
	@for s in $(TARGETS); do rm -f "$(BINDIR)/$${s}"; done