From ae428d9d8dabcdf210ea4caedd2461fa3e4dc0d7 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 10 Jan 2016 21:34:54 +0100 Subject: [PATCH] Makefile: dont update the binary on release --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6d9c357..95d728b 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ doctest: svtplay-dl $(RELEASE_DIR): clean_releasedir mkdir $(RELEASE_DIR) cd $(RELEASE_DIR) && git clone -b master ../ . && \ - make svtplay-dl $(MANFILE) + make $(MANFILE) clean_releasedir: rm -rf $(RELEASE_DIR) @@ -79,8 +79,7 @@ release: $(RELEASE_DIR) release-test set -e; cd $(RELEASE_DIR) && \ sed -i -re 's/^(LATEST_RELEASE_DATE = ).*/\1$(NEW_RELEASE_DATE)/' Makefile;\ sed -i -re 's/^(__version__ = ).*/\1"$(NEW_RELEASE)"/' lib/svtplay_dl/__init__.py;\ - make svtplay-dl VERSION=$(NEW_RELEASE); \ - git add svtplay-dl Makefile lib/svtplay_dl/__init__.py; \ + git add Makefile lib/svtplay_dl/__init__.py; \ git commit -m "New release $(NEW_RELEASE)"; (cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am