mirror of
https://github.com/balkian/gists.git
synced 2024-12-22 22:38:12 +00:00
This commit is contained in:
parent
504335dfca
commit
720a2d1efd
12
Makefile
12
Makefile
@ -1,13 +1,21 @@
|
||||
AUX_DIR=.aux
|
||||
# Some automation to submit to a journal (e.g. Elsevier).
|
||||
# It detects the main latex file and eps files used.
|
||||
# Author: @balkian
|
||||
# TODO: Only import the tex files used in the main file, and their images.
|
||||
|
||||
LATEX=$(basename $(shell grep -l '\\begin{document' *.tex))
|
||||
LETTER=letter
|
||||
COVER=cover
|
||||
HIGHLIGHTS=highlights
|
||||
|
||||
HTML_OUT=$(LETTER).html
|
||||
AUX_DIR=.aux
|
||||
|
||||
.PHONY: all cover clean highlights latex letter zip
|
||||
|
||||
all: $(COVER).pdf $(LETTER).pdf | zip
|
||||
default: latex
|
||||
|
||||
all: $(LATEX).pdf $(LETTER).pdf $(COVER).pdf $(HIGHLIGHTS).pdf | zip
|
||||
|
||||
$(AUX_DIR):
|
||||
@mkdir -p $(AUX_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user