Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (12 sloc) 435 Bytes
# Source files
TEXFILES=constitution.tex
# Binaries
PDFLATEX=pdflatex
# Generated files
PDFFILES=$(TEXFILES:.tex=.pdf)
.PHONY: all clean
all:
$(PDFLATEX) `git log -1 --date=short --format=format:'\newcommand{\RevisionInfo}{Revision %h on %ad}'` '\input{constitution.tex}'
$(PDFLATEX) `git log -1 --date=short --format=format:'\newcommand{\RevisionInfo}{Revision %h on %ad}'` '\input{constitution.tex}'
clean:
$(RM) $(PDFFILES)