aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-30 08:17:28 -0300
committerEuAndreh <eu@euandre.org>2021-07-30 08:17:28 -0300
commit7f9722b3d54b45138d6a6828eb2646c708636378 (patch)
tree0812f73dbc01a701581e626d636fc711c41e6821 /Makefile
parentMakefile: Make separation between canonical and personal targets clear (diff)
downloadgit-permalink-7f9722b3d54b45138d6a6828eb2646c708636378.tar.gz
git-permalink-7f9722b3d54b45138d6a6828eb2646c708636378.tar.xz
Makefile: Keep executable permission of .in suffixed files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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