diff options
author | Rafael Laboissiere <rafael@laboissiere.net> | 2015-05-09 06:01:48 -0300 |
---|---|---|
committer | Rafael Laboissiere <rafael@laboissiere.net> | 2015-05-09 11:04:52 +0200 |
commit | bc3b67956717ad218d2bce5114c491556f62ff2e (patch) | |
tree | d2f3bd089b7fc1d09612b57a3b5377d3e2c0ad77 | |
parent | 01cb2d675103283664e0a870818cfc413f546b37 (diff) |
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.
-rw-r--r-- | Makefile | 13 | ||||
-rwxr-xr-x | git-multimail (renamed from git_multimail.py) | 0 |
2 files changed, 9 insertions, 4 deletions
@@ -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 diff --git a/git_multimail.py b/git-multimail index 8b58ed6..8b58ed6 100755 --- a/git_multimail.py +++ b/git-multimail |