summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBob Weiner <rsw@gnu.org>2017-10-06 15:03:08 -0400
committerBob Weiner <rsw@gnu.org>2017-10-06 15:03:08 -0400
commitbab59c881819e5c598a8a8971f127562df44aa0e (patch)
tree48104bef4c420fa12e675627e0430b2319231585 /Makefile
parentbf0e9fb63f5e59ff1f23fd3417e70555ef5800ea (diff)
V6.0.2d - Improved README and added git#=branch:file implicit button syntax.
* man/hyperbole.texi (Version): Updated to 6.0.2d and rebuilt output formats. * Makefile (README.md.html): Added build rule as part of 'make doc'. README*: Rewrote the Summary intro paragraph and first two numbered items in simpler terms for new users. * hib-social.el (git-commit-reference): Added new implicit button type to display a diff for any commit listed in 'git log' output. (git-reference): Fixed a few typos and added support for git#=branch:file syntax to view (not edit) a file from a specific branch. Hyperbole finds which project the branch and file are associated with if a default is not specified. Documented in this file and DEMO.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 9de2078..85fcc5f 100644
--- a/Makefile
+++ b/Makefile
@@ -32,14 +32,16 @@
# USAGE: For those installing GNU Hyperbole, use:
# make help
#
-# For OO-Browser maintainers:
-# To assemble a Hyperbole Emacs package for testing:
+# To build only the output formats of the Hyperbole manual:
+# make doc
+#
+# To assemble a Hyperbole Emacs package for testing:
# make pkg
-# To release a Hyperbole Emacs package to ELPA and ftp.gnu.org:
+#
+# To release a Hyperbole Emacs package to ELPA and ftp.gnu.org:
# make release
#
# The Hyperbole Manual is included in the package in four forms:
-#
# "man/hyperbole.info" - GNU browsable version
# "man/hyperbole.html" - Web browsable version
# "man/hyperbole.pdf" - Printable version
@@ -52,7 +54,7 @@
# This ver setup won't work under any make except GNU make, so set it manually.
#HYPB_VERSION = "`head -3 hversion.el | tail -1 | sed -e 's/.*|\(.*\)|.*/\1/'`"
-HYPB_VERSION = 6.0.2c
+HYPB_VERSION = 6.0.2d
# Emacs executable used to byte-compile .el files into .elc's.
# Possibilities include: emacs, infodock, xemacs, etc.
@@ -240,11 +242,11 @@ TAGS: $(EL_TAGS)
version: doc
@ echo ""
@ echo "Any fgrep output means the version number has not been updated in that file."
- fgrep -L $(HYPB_VERSION) Makefile HY-ABOUT HY-ANNOUNCE HY-NEWS hversion.el hyperbole-pkg.el man/hyperbole.texi man/version.texi
+ fgrep -L $(HYPB_VERSION) Makefile HY-ABOUT HY-ANNOUNCE HY-ANNOUNCE-SHORT HY-NEWS hversion.el hyperbole-pkg.el man/hyperbole.texi man/version.texi
@ echo ""
-# Build the Info, HTML and Postscript versions of the user manual.
-doc: info html pdf
+# Build the Info, HTML and Postscript versions of the user manual and README.md.html.
+doc: info html pdf README.md.html
info: $(man_dir)/hyperbole.info
$(man_dir)/hyperbole.info: $(man_dir)/hyperbole.texi $(man_dir)/version.texi $(man_dir)/hkey-help.txt
@@ -258,6 +260,10 @@ pdf: $(man_dir)/hyperbole.pdf
$(man_dir)/hyperbole.pdf: $(man_dir)/hyperbole.texi $(man_dir)/version.texi $(man_dir)/hkey-help.txt
cd $(man_dir) && $(TEXI2PDF) hyperbole.texi
+# github-markdown is an npm, installed with: npm install markdown-to-html -g
+README.md.html: README.md
+ github-markdown README.md > README.md.html
+
# Generate a Hyperbole package suitable for distribution via the Emacs package manager.
pkg: package
package: git-pull doc kotl/kotl-loaddefs.el $(pkg_dir)/hyperbole-$(HYPB_VERSION).tar.sig