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