Skip to content
Snippets Groups Projects
Commit 8c3d84ca authored by John Swinbank's avatar John Swinbank
Browse files

Reorganize makefile snippets

parent 6df51113
No related branches found
No related tags found
1 merge request!23Generate change record from tags
.FORCE:
changes.tex: Makefile .FORCE
astron-texmf/bin/gen_change_record.py > changes.tex
......@@ -8,4 +8,4 @@ $(DOCNAME).pdf: $(DOCNAME).tex meta.tex
xelatex $(DOCNAME)
xelatex $(DOCNAME)
include ../vcs-meta.make
include ../make/vcs-meta.make
.FORCE:
changes.tex: Makefile .FORCE
rm -f $@
printf "%s\n" "% GENERATED FILE -- do not edit" >>$@
astron-texmf/bin/gen_change_record.py >>$@
......@@ -7,7 +7,7 @@ GITLASTYEAR := $(shell git log -1 --date=short --pretty=%ad | cut -d- -f1)
meta.tex: Makefile .FORCE
rm -f $@
printf "%s\n" "% GENERATED FILE -- edit this in the Makefile" >>$@
printf "%s\n" "% GENERATED FILE -- do not edit" >>$@
printf "%s\n" "\newcommand{\vcsRevision}{$(GITVERSION)}" >>$@
printf "%s\n" "\newcommand{\vcsDate}{$(GITDATE)}" >>$@
printf "%s\n" "\newcommand{\vcsFirstYear}{$(GITFIRSTYEAR)}" >>$@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment