1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

fix install.sh to reflect new locations, tweak documentation where necessary

This commit is contained in:
William Ting
2012-04-17 13:40:53 -10:00
parent acfc5c13ef
commit 168865f138
4 changed files with 33 additions and 23 deletions

View File

@@ -1,11 +1,14 @@
VERSION = v20
TAGNAME = release-$(VERSION)
.PHONY: docs install
.PHONY: docs install uninstall
install:
install.sh
uninstall:
uninstall.sh
docs:
pandoc -s -w man docs/manpage.md -o docs/autojump.1
pandoc -s -w markdown docs/manpage.md docs/install.md -o README.md
@@ -14,12 +17,14 @@ release:
# Check for tag existence
# git describe release-$(VERSION) 2>&1 >/dev/null || exit 1
tools/git-version.sh $(TAGNAME)
# Modify autojump with version
./tools/git-version.sh $(TAGNAME)
# Commit the version change
git commit -m "version numbering" autojump
git commit -m "version numbering" ./bin/autojump
# Create tag
git tag -a $(TAGNAME)
# Create tagged archive
git archive --format=tar --prefix autojump_$(VERSION)/ $(TAGNAME) | gzip > autojump_$(VERSION).tar.gz