mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 01:32:29 +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))
|
LATEX=$(basename $(shell grep -l '\\begin{document' *.tex))
|
||||||
LETTER=letter
|
LETTER=letter
|
||||||
COVER=cover
|
COVER=cover
|
||||||
HIGHLIGHTS=highlights
|
HIGHLIGHTS=highlights
|
||||||
|
|
||||||
HTML_OUT=$(LETTER).html
|
HTML_OUT=$(LETTER).html
|
||||||
|
AUX_DIR=.aux
|
||||||
|
|
||||||
.PHONY: all cover clean highlights latex letter zip
|
.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):
|
$(AUX_DIR):
|
||||||
@mkdir -p $(AUX_DIR)
|
@mkdir -p $(AUX_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user