Add Makefile to create ReleaseNotes HTML

Add the first couple of entries for the next version of the ReleaseNotes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-12-20 11:37:49 -08:00
parent 7ab71604ec
commit d3f5222270
3 changed files with 58 additions and 1278 deletions

45
ReleaseNotes/Makefile Normal file
View file

@ -0,0 +1,45 @@
#
# in order for "normal" developers not to have to install asciidoc (which
# brings in a couple hundred MB of dependencies) we now include both the
# user-manual.txt and a copy of the generated .html file in git
#
# in order to avoid unnecessary thrash with minor version differences, when
# submitting patches to the user manual, only submit the changes to the .txt
# file - the maintainer will recreate the .html.git file
DOCNAMES = ReleaseNotes
HTMLDOCS = $(patsubst %,$(OUT)%.html,$(DOCNAMES))
TEXTDOCS = $(patsubst %,$(OUT)%.text,$(DOCNAMES))
PDFDOCS = $(patsubst %,$(OUT)%.pdf,$(DOCNAMES))
ASCIIDOC = asciidoc
A2X = a2x
BROWSER = firefox
THEME = ../Documentation/compact_subsurface
PWD = $(realpath .)
all: $(HTMLEDOCS) $(TEXTDOCS) $(PDFDOCS)
doc: $(HTMLDOCS)
$(OUT)%.text: %.txt
$(A2X) -f text $<
$(OUT)%.pdf: %.txt
-$(A2X) --dblatex-opts "-P latex.output.revhistory=0" -f pdf $<
$(OUT)%.html: %.txt
@echo "if asciidoc isn't found the html file included in the sources is copied"
$(ASCIIDOC) -a toc -a toclevels=3 -a themedir=$(PWD) -a theme=$(THEME) -a stylesdir=$(PWD) \
-o $@ $< || cp $(<:%.txt=%.html.git) $@
# Alternatively::
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)
$(A2X) --icons -f xhtml $<
show: $(HTMLDOC)
$(BROWSER) $<
clean:
rm -f *~ *.xml docbook-xsl.css $(HTMLDOCS) $(TEXTDOCS) $(PDFDOCS)

File diff suppressed because it is too large Load diff

View file

@ -1,16 +1,25 @@
// _Subsurface_ 4.3 Release Notes
// _Subsurface_ 4.4 Release Notes
_Subsurface_ 4.3 - released December 2014
_Subsurface_ 4.4 - released sometime early 2015
---------------------------------------
The _Subsurface_ development team proudly announces
release 4.3 of _Subsurface_, an open source divelog and dive planning
program for Windows, Mac and Linux.
the release of version 4.4 Beta 1 of _Subsurface_, an open source divelog
and dive planning program for Windows, Mac and Linux.
License: GPLv2
_Subsurface_ can be found at: http://_Subsurface_-divelog.org
Some of the changes since _Subsurface_ 4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We have added more capabilities to the CSV import for manually kept dive
logs; this now includes start and end pressure for the main tank as well
as air and water temperatures.
Subsurface can now import dive databases from the Cobalt divelog program.
Some of the changes since _Subsurface_ 4.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~