Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
core
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Malin Freeborn
core
Commits
72de1d7d
Commit
72de1d7d
authored
4 years ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
allow reference version in Makefile
parent
b75909f7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+6
-8
6 additions, 8 deletions
Makefile
main.tex
+3
-5
3 additions, 5 deletions
main.tex
with
9 additions
and
13 deletions
Makefile
+
6
−
8
View file @
72de1d7d
...
...
@@ -15,17 +15,15 @@ resources: resources.pdf
resources.pdf
:
$(wildcard CS/*.tex)
pdflatex CS/resources.tex
ref
:
filename
=
bind-ref
pdflatex
-jobname
${
filename
}
-shell-ecape
"
\d
ef
\i
sref{1}
\i
nput{main.tex}"
makeindex bind-ref.idx
makeglossaries bind-ref
pdflatex
-jobname
bind-ref
"
\d
ef
\i
sref{1}
\i
nput{main.tex}"
pdflatex
-jobname
bind-ref
"
\d
ef
\i
sref{1}
\i
nput{main.tex}"
all
:
resources.pdf ${filename}.pdf ref
touch
.ref
make
rm
.ref
mv
main.pdf bind_ref.pdf
all
:
ref resources.pdf ${filename}.pdf
tree
:
[
-e
../config
]
||
(
echo
"You don't have a local config repo"
&&
exit
1
)
git status
git subtree
-P
config pull ../config
${
branch
}
git subtree
-P
config push ../config
${
branch
}
clean
:
rm
-fr
*
.aux
*
.toc
*
.acn
*
.log
*
.ptc
*
.out
*
.idx
*
.ist
*
.glo
*
.glg
*
.gls
*
.acr
*
.alg
*
.ilg
*
.ind
*
.pdf svg-inkscape
rm
-fr
*
.aux
*
.toc
*
.acn
*
.log
*
.ptc
*
.out
*
.idx
*
.ist
*
.glo
*
.glg
*
.gls
*
.acr
*
.alg
*
.ilg
*
.ind
*
.pdf
.ref
svg-inkscape
This diff is collapsed.
Click to expand it.
main.tex
+
3
−
5
View file @
72de1d7d
...
...
@@ -7,11 +7,9 @@
\usepackage
{
config/monsters
}
\input
{
glossary.tex
}
\ifdefined\isref
\settoggle
{
verbose
}{
false
}
\else
\settoggle
{
verbose
}{
true
}
\fi
\IfFileExists
{
.ref
}
%
{
\settoggle
{
verbose
}{
false
}}
{
\settoggle
{
verbose
}{
true
}}
\externalReferent
{
aif
}
...
...
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