Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multitouch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
multitouch
Commits
4f62d702
Commit
4f62d702
authored
12 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Aded cross-references check to make rules.
parent
45a585ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/rules.mk
+14
-6
14 additions, 6 deletions
docs/rules.mk
with
14 additions
and
6 deletions
docs/rules.mk
+
14
−
6
View file @
4f62d702
REPORT
:=
report
SCHEME
:=
data/server_scheme
PDFLATEX_FLAGS
=
-halt-on-error
-interaction
=
nonstopmode
\
-output-directory
$(
@D
)
-output-directory
$(
@D
)
-shell-escape
LATEX
=
TEXINPUTS
=
$(
d
)
:
$(
b
)
: pdflatex
$(
PDFLATEX_FLAGS
)
REF_WARNING
:=
"Rerun to get cross-references right"
.PHONY
:
docs
.PHONY
:
docs
report
docs
:
$(b)$(REPORT).pdf $(b)$(REPORT).bbl $(b)proposal.pdf $(b)presentation.pdf
docs
:
report $(b)proposal.pdf $(b)presentation.pdf
report
:
$(b)$(REPORT).pdf $(b)$(REPORT).bbl
$(b)%.pdf
:
$(d)%.tex
mkdir
-p
$(
@D
)
TEXINPUTS
=
$(
d
)
:
$(
b
)
: pdflatex
$(
PDFLATEX_FLAGS
)
$^
$(
LATEX
)
$^
@
while
grep
$(
REF_WARNING
)
$(
@:.pdf
=
.log
)
>
/dev/null
;
do
\
echo
"** Rerunning pdflatex for cross-references **"
;
\
$(
LATEX
)
$^
;
\
done
$(b)$(REPORT).pdf
:
$(b)$(SCHEME).pdf
...
...
@@ -19,5 +27,5 @@ $(b)$(SCHEME).pdf: $(d)$(SCHEME).tex
$(b)$(REPORT).bbl
:
$(d)$(REPORT).bib
BIBINPUTS
=
$(
d
)
bibtex8
${
@:.bbl
=
.aux
}
TEXINPUTS
=
$(
d
)
:
$(
b
)
: pdflatex
$(
PDFLATEX_FLAGS
)
$(
d
)$(
REPORT
)
.tex
TEXINPUTS
=
$(
d
)
:
$(
b
)
: pdflatex
$(
PDFLATEX_FLAGS
)
$(
d
)$(
REPORT
)
.tex
$(
LATEX
)
$(
d
)$(
REPORT
)
.tex
$(
LATEX
)
$(
d
)$(
REPORT
)
.tex
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment