corretta data commit autoinserita
This commit is contained in:
parent
59c6cd2bbe
commit
cb365e93f4
1
Makefile
1
Makefile
|
@ -12,6 +12,7 @@ booklet: build/main.pdf
|
|||
build/%.pdf: %.tex $(RASTF) Makefile
|
||||
@mkdir -p build
|
||||
@git rev-parse HEAD | dd bs=1 count=10 > build/commit.tex
|
||||
@git log -1 --format=%ci | cut -d' ' -f1 > build/commit-date.tex
|
||||
@status=$$(git status --porcelain); if test "x$${status}" != x; then echo " dirty" >> build/commit.tex; fi
|
||||
@if [ -t 1 ]; then echo -e "\033[1;33m[Mashup ]\033[0m main.tex"; else echo "Mashup"; fi
|
||||
@pdflatex -output-directory build -synctex=1 -interaction=nonstopmode $<
|
||||
|
|
2
main.tex
2
main.tex
|
@ -85,7 +85,7 @@ Questo manualetto è stato preparato da:\\
|
|||
GOLEM - Gruppo Operativo Linux Empoli\\
|
||||
via Magolo, 32 - 50053 Empoli (FI)\\
|
||||
golem.linux.it\\
|
||||
Revisione \texttt{\input{build/commit}} del \texttt{\today}
|
||||
Revisione \texttt{\input{build/commit}} del \texttt{\input{build/commit-date.tex}}, compilata il \texttt{\today}
|
||||
\end{minipage}
|
||||
\begin{minipage}{.2\textwidth}
|
||||
\centering
|
||||
|
|
Loading…
Reference in New Issue