From bc3b67956717ad218d2bce5114c491556f62ff2e Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Sat, 9 May 2015 06:01:48 -0300 Subject: Renamed git_multimail.py The file has now the same name as its installation target (git-multimail). This changes allows the generalization of the installation rule in Makefile, in whihc the scripts are now listed in a variable. --- Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28f287b..76a8413 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ DESTDIR = /usr/local/bin INSTALL = install --mode=755 +SCRIPTS = \ + git-multimail \ + add-git-user \ + add-git-repo \ + add-authorized-keys .PHONY: install install: - $(INSTALL) git_multimail.py $(DESTDIR)/git-multimail - $(INSTALL) add-git-user $(DESTDIR) - $(INSTALL) add-git-repo $(DESTDIR) - $(INSTALL) add-authorized-keys $(DESTDIR) + @for i in $(SCRIPTS) ; do \ + $(INSTALL) $$i $(DESTDIR) ; \ + echo "Installed $$i" ; \ + done -- cgit v1.2.3