summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2d16f5a690ab216f4f57dc7c9d2367c0c72983c3 (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 rename-patch

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