branch: elpa/git-commit commit 424956f782314c0ed9eb51630ad18ca2cb7aeb39 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
make: Rename some documentation targets For consistencies with other packages. --- Makefile | 13 ++++++------- docs/Makefile | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index a2c93f61d1..38fb963281 100644 --- a/Makefile +++ b/Makefile @@ -61,8 +61,8 @@ help: $(info make stats - regenerate statistics) $(info make authors - regenerate AUTHORS.md) $(info make publish-stats - publish statistics) - $(info make publish-manuals - publish snapshot manuals) - $(info make release-manuals - publish release manuals) + $(info make publish - publish snapshot manuals) + $(info make release - publish release manuals) $(info make dist - create tarballs) $(info make bump-versions - bump versions for release) $(info make bump-snapshots - bump versions after release) @@ -161,12 +161,11 @@ authors: publish-stats: @$(MAKE) -C docs publish-stats -publish: publish-manuals -publish-manuals: - @$(MAKE) -C docs publish-manuals +publish: + @$(MAKE) -C docs publish -release-manuals: - @$(MAKE) -C docs release-manuals +release: + @$(MAKE) -C docs release dist: magit-$(VERSION).tar.gz diff --git a/docs/Makefile b/docs/Makefile index 8fb7dae71a..44499bb7d2 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -133,7 +133,7 @@ publish-stats: stats @aws cloudfront create-invalidation \ --distribution-id $(CFRONT_DIST) --paths "/stats/*" > /dev/null -publish-manuals: $(PUBLISH_TARGETS) +publish: $(PUBLISH_TARGETS) @printf "Uploading manuals... $(PUBLISH_TARGETS)\n" @aws s3 cp $(PKG).html $(PUBLISH_TARGET) @aws s3 cp $(PKG).pdf $(PUBLISH_TARGET) @@ -147,7 +147,7 @@ publish-manuals: $(PUBLISH_TARGETS) @aws cloudfront create-invalidation --distribution-id $(CFRONT_DIST) --paths \ "$(subst $(space),$(comma),$(addprefix $(PUBLISH_PATH),$(CFRONT_PATHS)))" > /dev/null -release-manuals: $(PUBLISH_TARGETS) +release: $(PUBLISH_TARGETS) @printf "Uploading release manuals...\n" @aws s3 cp $(PKG).html $(RELEASE_TARGET) @aws s3 cp $(PKG).pdf $(RELEASE_TARGET)