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
Informatik 8
TexCommon
Commits
cbe2f632
Commit
cbe2f632
authored
Feb 22, 2020
by
Sergey Goncharov
Browse files
minor
parent
4a6f1b76
Pipeline
#38148
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
cbe2f632
...
...
@@ -116,7 +116,7 @@ edit: $(SRCNAMES)
then
\
$(MAKE) -e -f $(@:.pdf=.makefile);
\
$(PDF) $(@:.pdf=.tex) >/dev/null;
\
fi
fi
@echo Create $(@
:
.pdf=.cit) if it does not exist
test
-s
$
(
@:.pdf
=
.cit
)
||
echo
''
|
$(MD5SUM)
>
$
(
@:.pdf
=
.cit
)
...
...
@@ -174,7 +174,8 @@ pack: $(TEXSRC)
for
file
in
submission/
*
.tex
;
do
perl
-i
-pe
's/(^|[^\\])%.*/\1%/'
$$
file
;
done
# remove appendix
#for file in submission/*.tex; do sed -i '/
\\
appendix/,
$$
c
\\\e
nd
{
document
}
' $$file ; done
cd submission; rm *.aux *.blg *.log *.out; rm -f ../submission.zip; zip -r ../submission.zip *
for file in submission/*.tex; do sed -i '
/
\\\e
nd
{
document
}
/q
' $$file ; done
cd submission; -rm *.aux *.blg *.log *.out; -rm -f ../submission.zip; zip -r ../submission.zip *
.PHONY
:
up
up
:
$(PDFNAMES)
...
...
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