Skip to content

Commit

Permalink
specify version globally
Browse files Browse the repository at this point in the history
  • Loading branch information
vlm committed Oct 27, 2014
1 parent 2e554fc commit 50155de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions doc/docsrc/Makefile.am
@@ -1,11 +1,12 @@

XELATEX_FLAGS = -halt-on-error -file-line-error
XELATEX = xelatex
TEXSRC = '\def\asnver{@VERSION@}\input{asn1c-usage}'

regen:
$(XELATEX) $(XELATEX_FLAGS) -no-pdf asn1c-usage
$(XELATEX) $(XELATEX_FLAGS) -no-pdf asn1c-usage
$(XELATEX) $(XELATEX_FLAGS) asn1c-usage
$(XELATEX) $(XELATEX_FLAGS) -no-pdf $(TEXSRC)
$(XELATEX) $(XELATEX_FLAGS) -no-pdf $(TEXSRC)
$(XELATEX) $(XELATEX_FLAGS) $(TEXSRC)

EXTRA_DIST = $(srcdir)/*.tex

Expand Down
6 changes: 4 additions & 2 deletions doc/docsrc/asn1c-usage.tex
Expand Up @@ -97,12 +97,14 @@

\begin{document}

\title{Using the Open Source ASN.1 Compiler}
\title{Using the Open Source ASN.1 Compiler\\
\vspace*{1cm}
\Large Documentation for asn1c version \asnver{}}
\author{Lev Walkin <\href{mailto:vlm@lionet.info?Subject=asn1c}{vlm@lionet.info}>}

\pagestyle{fancy}
\fancyhead[L]{\leftmark}
\fancyhead[R]{\href{http://lionet.info/asn1c}{asn1c-0.9.26}}
\fancyhead[R]{\href{http://lionet.info/asn1c}{asn1c-\asnver}}
\maketitle

\tableofcontents{}
Expand Down

0 comments on commit 50155de

Please sign in to comment.