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
bfcfca31
Commit
bfcfca31
authored
Feb 20, 2019
by
Sergey Goncharov
Browse files
no remove appendix
parent
89b730e0
Pipeline
#22728
passed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
bfcfca31
...
...
@@ -172,8 +172,8 @@ pack: $(TEXSRC)
# remove comments
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 \\\end{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 '/
\\
appendix/,
$$
c
\\\e
nd
{
document
}
' $$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