summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f40f591..0a6540b 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ all: sound-cutter sound-cutter.1
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@" $< > $@
+ [ "$@" = "sound-cutter" ] && chmod +x "$@" || true
.PHONY: install dist clean
@@ -37,7 +38,7 @@ install: all
install -D -m0644 sound-cutter.1 $(DESTDIR)$(MANDIR)/man1/sound-cutter.1
clean:
- rm -f sound-cutter{,.1}
+ rm -f sound-cutter sound-cutter.1
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true