Skip to content
Snippets Groups Projects
Commit 0464b2c7 authored by Robert Goldman's avatar Robert Goldman
Browse files

Add version numbering to manual.

Horrible perl snippet to pull version number into texinfo. Open for
tastier version.
parent e8d33c03
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ doc/asdf.vr
doc/asdf.vrs
doc/asdf.t2d/
doc/asdf.dvi
doc/version.texinfo
*.tmp
LICENSE
......
......@@ -12,16 +12,19 @@ intermediate = asdf.cps asdf.log asdf.vr asdf.aux asdf.fn asdf.toc asdf.vrs \
all: asdf.html asdf.info asdf.pdf manual-html
manual-html: asdf.texinfo
version.texinfo: ../version.lisp-expr
head -n 1 $^ | perl -ne 'm|\"(.*)\"|; print "\@set VERSION $$1\n"' > $@
manual-html: asdf.texinfo version.texinfo
makeinfo --html asdf.texinfo
asdf.html: asdf.texinfo
asdf.html: asdf.texinfo version.texinfo
makeinfo --html --no-split --no-headers -o asdf.html asdf.texinfo
asdf.info: asdf.texinfo
asdf.info: asdf.texinfo version.texinfo
makeinfo asdf.texinfo
asdf.pdf: asdf.texinfo
asdf.pdf: asdf.texinfo version.texinfo
texi2pdf asdf.texinfo
website: all
......
......@@ -63,11 +63,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@end copying
@include version.texinfo
@titlepage
@title ASDF: Another System Definition Facility
@subtitle Manual for Version @value{VERSION}
@c The following two commands start the copyright page.
@page
@vskip 0pt plus 1filll
......@@ -83,6 +83,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@node Top, Introduction, (dir), (dir)
@top ASDF: Another System Definition Facility
@ifnottex
Manual for Version @value{VERSION}
@end ifnottex
@insertcopying
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment