Skip to content

Commit 3b9c423

Browse files
committed
Update Texinfo with some variables
Automake provides us variables with the version of the program, when it was generated the documentation... these variables can be used in the program for making it more flexible.
1 parent d9ea34c commit 3b9c423

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ src/chip8/chip8
3838
.cproject
3939
.project
4040
.settings/
41+
42+
# Texinfo files
4143
doc/texinfo.tex
4244
doc/version.texi
4345
doc/stamp-vti
4446
doc/mdate-sh
47+
doc/chip8.info

doc/chip8.texi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ in the section entitled "GNU Free Documentation License".
2323
@titlepage
2424
@title CHIP-8
2525
@subtitle Package manual
26-
@subtitle version v0.2.0
26+
@subtitle version @value{VERSION}
27+
@subtitle @value{UPDATED-MONTH}
2728
@author Dani Rodr@'iguez
2829

2930
@c Print copyright information
3031
@page
3132
@vskip 0pt plus 1fill
32-
This is the user manual for version v0.2.0 of CHIP-8 software package.
33+
This is the user manual for version @value{VERSION} of CHIP-8 software package.
3334
To check for updates, please visit @uref{http://github.com/danirod/chip8}.
3435

3536
@insertcopying
@@ -42,7 +43,7 @@ To check for updates, please visit @uref{http://github.com/danirod/chip8}.
4243
@ifnottex
4344
@node Top
4445
@top CHIP-8 Package manual
45-
This is the user manual for version v0.2.0 of CHIP-8 software package.
46+
This is the user manual for version @value{VERSION} of CHIP-8 software package.
4647
To check for updates, please visit @uref{http://github.com/danirod/chip8}.
4748
@end ifnottex
4849

0 commit comments

Comments
 (0)