Initial import
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
.RECIPEPREFIX +=
|
||||
TARGET = letter.pdf
|
||||
SIGIMAGE = figures/signature.png.gpg
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
|
||||
$(TARGET): update-sig main.pdf
|
||||
mv main.pdf letter.pdf
|
||||
|
||||
|
||||
main.pdf:
|
||||
rubber -m xelatex main.tex
|
||||
|
||||
|
||||
update-sig:
|
||||
gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
|
||||
|
||||
|
||||
clean:
|
||||
rubber -m xelatex --clean main.tex && $(RM) $(TARGET) && $(RM) figures/signature.png
|
||||
|
||||
Reference in New Issue
Block a user