Skip to content

Commit

Permalink
add target camera
Browse files Browse the repository at this point in the history
  • Loading branch information
konnov committed Jan 13, 2025
1 parent 1955bb8 commit f2ad42a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion reports/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
target = report
source = report
camera = final-report

deps := $(source).tex ./*.tex
deps := $(source).tex ./*.tex ./images/*.*

build_dir = _build

Expand All @@ -18,5 +19,16 @@ $(target).pdf: $(build_dir) $(target).tex $(wildcard $(deps))
$(build_dir):
@mkdir $(build_dir)

$(camera).pdf: $(build_dir) camera_expand $(wildcard $(deps))
latexmk -bibtex -pdf -jobname=$(build_dir)/$(camera) $(camera)
cp $(build_dir)/$(camera).pdf $(camera).pdf

camera_expand: $(target).tex $(wildcard $(deps))
@latexpand $(target).tex > $(camera).tex

camera: $(camera).pdf
@zip $(camera)-source.zip $(camera).tex \
$(build_dir)/$(camera).bbl ref.bib *.cls *.sty images/*

clean:
@rm -rf $(build_dir)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion reports/spec1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ \section{\SpecOne{}: Translation from Python to \tlap{}}\label{sec:spec1}

\begin{figure}
\centering
\includegraphics[width=.9\textheight,angle=-90]{ffg-callgraph.pdf}
\includegraphics[width=.9\textheight,angle=-90]{images/ffg-callgraph.pdf}
\caption{The callgraph of the 3SF specification Python code}
\label{fig:callgraph}
\end{figure}
Expand Down

0 comments on commit f2ad42a

Please sign in to comment.