diff --git a/Makefile b/Makefile index 4e54ccb..c86f5f7 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ all: dist/main.pdf figure dist/main.pdf: main.tex $(TEX) $(PDF) $(RASTER) mkdir -p build/tex dist + git rev-parse HEAD > build/commit.tex pdflatex -output-directory build -synctex=1 -interaction=nonstopmode main.tex pdflatex -output-directory build -synctex=1 -interaction=nonstopmode main.tex mv build/main.pdf dist @@ -36,7 +37,7 @@ figure: $(PDF) @echo "Sto generando $@" # Conversion command inkscape -z -D --file=$^ --export-pdf=$(VEC_DIR)/$@ - + clean: rm -rf build rm -rf $(VEC_DIR) diff --git a/tex/0-home.tex b/tex/0-home.tex index fd6e7ba..1ac3a12 100644 --- a/tex/0-home.tex +++ b/tex/0-home.tex @@ -18,8 +18,10 @@ Speriamo di poter utilizzare il testo per i futuri soci dell'Officina Informatic Il manuale è redatto in \LaTeX ~ed è rilasciato secondo licenza GPL3. -Questa revisione è datata \today. +Questa revisione è stata compilata \today. + +Commit git: \input{build/commit} \vspace{\fill} -\doublerule \ No newline at end of file +\doublerule