From: Bert Wesarg Date: Wed, 13 Aug 2008 07:11:15 +0000 (+0200) Subject: Makefile: Use $(wildcard) for commands_in X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=10ee8496b64f56b4a8bd32632ecd3dc4f66c2140;p=topgit.git Makefile: Use $(wildcard) for commands_in To prevent merge conflicts while adding new commands, use a wildcard for the command list. Signed-off-by: Bert Wesarg --- diff --git a/Makefile b/Makefile index af46399..b73a1f1 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ sharedir = $(prefix)/share/topgit hooksdir = $(cmddir)/hooks -commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-update.sh +commands_in = $(wildcard tg-*.sh) hooks_in = hooks/pre-commit.sh commands_out = $(patsubst %.sh,%,$(commands_in))