From c9349b21f977295fa0060472d3c68f60126e1a95 Mon Sep 17 00:00:00 2001 From: Dmitry Zuikov Date: Sat, 16 Mar 2024 19:28:46 +0300 Subject: [PATCH] fix --- docs/papers/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/papers/Makefile b/docs/papers/Makefile index a17c2f45..557f40c7 100644 --- a/docs/papers/Makefile +++ b/docs/papers/Makefile @@ -1,3 +1,5 @@ +OUT:=$(shell git rev-parse --short HEAD) + all: hbs2-git-problem hbs2-git-new-repo hbs2-git-doc .PHONY: all clean @@ -11,6 +13,7 @@ hbs2-git-problem: hbs2-git-problem.pdf hbs2-git-new-repo: hbs2-git-new-repo.pdf hbs2-git-doc: hbs2-git-doc-0.24.1.pdf + @cp $< $(basename $<)-$(OUT)$(suffix $<) clean: rm -f *.aux *.log *.nav *.out *.snm *.vrb *.toc *.pdf