Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OAF
alignment-finder
Commits
eeaf66b1
Commit
eeaf66b1
authored
Jun 07, 2018
by
Michael Kohlhase
Browse files
better Makefile
parent
3a99dcb5
Changes
1
Show whitespace changes
Inline
Side-by-side
tex/Makefile
View file @
eeaf66b1
SRC
=
$(
shell
ls
*
.tex
)
TARGET
=
paper.pdf
#report.pdf
INSTALL
=
paper.pdf
#report.pdf
INSTALLTO
=
cicm18-viewfinder.pdf
#viewfinder-report.pdf
GITDIR
=
~/vc/git/gl.kwarc.info/mkohlhase/www/submit
T1
=
paper.pdf
I1
=
cicm18-viewfinder.pdf
T1
=
report.pdf
I1
=
viewfinder-report.pdf
PI1
=
papers/
$(I1)
PI2
=
submit/
$(I2)
TARGET
=
$(T1)
$(T2)
GITDIR
=
~/vc/git/gl.kwarc.info/mkohlhase/www
C1
=
$(T1)
$(GITDIR)
/
$(PI1)
C2
=
$(T2)
$(GITDIR)
/
$(PI2)
INSTALL
=
$(PI1)
$(PI2)
all
:
$(TARGET)
...
...
@@ -12,11 +19,8 @@ $(TARGET): %.pdf: %.tex $(SRC)
pdflatex
$(
basename
$<
)
pdflatex
$(
basename
$<
)
$(INSTALLTO)
:
paper.pdf
cp
paper.pdf
$(INSTALL)
install
:
$(INSTALL)
install
:
$(TARGET)
mkdir
-p
$(GITDIR)
cd
$(GITDIR)
;
git pull
;
cd
-
cp
$(
INSTALL)
$(GITDIR)
/
$(INSTALLTO
)
cd
$(GITDIR)
;
git add
--force
$(INSTALL
TO
)
;
git commit
-m
're-generated'
;
git push
;
cd
-
cp
$(
C1)
;
cp
$(C2
)
cd
$(GITDIR)
;
git add
--force
$(INSTALL)
;
git commit
-m
're-generated'
;
git push
;
cd
-
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment