summaryrefslogtreecommitdiff
path: root/Makefile
blob: 835d263c16d892ac8b0ab1022bf07b0da65b19e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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

clean:
	@rm -f *.pyc