summaryrefslogtreecommitdiff
path: root/Makefile
blob: c9d8608bc73e0ee729454897bf3c6add8e926351 (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 git2svn-sync svn2git-sync

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