From 7f9722b3d54b45138d6a6828eb2646c708636378 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 30 Jul 2021 08:17:28 -0300 Subject: Makefile: Keep executable permission of .in suffixed files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d268096..227e248 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ CONTRIBLANGS = .in: sed -e 's/@VERSION@/$(VERSION)/g' -e 's/@DATE@/$(DATE)/g' < $< > $@ + if [ -x $< ]; then chmod +x $@; fi manpages.en.in = \ doc/git-permalink.en.1.in @@ -24,7 +25,6 @@ manpages.in = $(manpages.en.in) \ manpages = $(manpages.in:.in=) all: src/git-permalink $(manpages) - chmod +x src/git-permalink check: all sh tests/cli-opts.sh -- cgit v1.2.3