Skip to content
Newer
Older
100644 34 lines (23 sloc) 773 Bytes
acfc5c1 @wting restructure files, working make doc and make release
authored
1 VERSION = v20
2 TAGNAME = release-$(VERSION)
3
f25d7ba @wting add unit tests, run using: make test
authored
4 .PHONY: docs install uninstall test
acfc5c1 @wting restructure files, working make doc and make release
authored
5
6 install:
7 install.sh
8
168865f @wting fix install.sh to reflect new locations, tweak documentation where ne…
authored
9 uninstall:
10 uninstall.sh
11
acfc5c1 @wting restructure files, working make doc and make release
authored
12 docs:
9ee7906 @wting fix documentation formatting
authored
13 pandoc -s -w man docs/manpage_header.md docs/header.md docs/body.md -o docs/autojump.1
57053a7 @wting Add dev section to README.md and update makefile to reflect new section.
authored
14 pandoc -s -w markdown docs/header.md docs/install.md docs/development.md docs/body.md -o README.md
acfc5c1 @wting restructure files, working make doc and make release
authored
15
b3c3253 @wting tweak release target to build docs and test first
authored
16 release: docs test
acfc5c1 @wting restructure files, working make doc and make release
authored
17 # Check for tag existence
18 # git describe release-$(VERSION) 2>&1 >/dev/null || exit 1
19
168865f @wting fix install.sh to reflect new locations, tweak documentation where ne…
authored
20 # Modify autojump with version
21 ./tools/git-version.sh $(TAGNAME)
acfc5c1 @wting restructure files, working make doc and make release
authored
22
23 # Commit the version change
168865f @wting fix install.sh to reflect new locations, tweak documentation where ne…
authored
24 git commit -m "version numbering" ./bin/autojump
acfc5c1 @wting restructure files, working make doc and make release
authored
25
26 # Create tag
27 git tag -a $(TAGNAME)
28
168865f @wting fix install.sh to reflect new locations, tweak documentation where ne…
authored
29 # Create tagged archive
acfc5c1 @wting restructure files, working make doc and make release
authored
30 git archive --format=tar --prefix autojump_$(VERSION)/ $(TAGNAME) | gzip > autojump_$(VERSION).tar.gz
f25d7ba @wting add unit tests, run using: make test
authored
31
32 test:
e62e720 @wting move config back to global space
authored
33 @tests/runtests.py
Something went wrong with that request. Please try again.