Commit d0ca24ff authored by Sergey Goncharov's avatar Sergey Goncharov
Browse files

Makefile

parent bfcfca31
Pipeline #22989 passed with stage
in 32 seconds
......@@ -168,12 +168,12 @@ pack: $(TEXSRC)
cp *.bbl submission || echo "There are no bbl-file!"
cp *.bst submission || echo "There are no bst-file!"
# copying all files from the current directory mentioned in log-file
for file in *; do if grep --quiet $$file *.log; then cp $$file submission; fi; done
for file in * ; do if [ -f $file ]; then (if grep --quiet $file *.log; then cp $file submission; fi); fi ; done
# 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 *
cd submission; rm *.aux *.blg *.log *.out; rm -f ../submission.zip; zip -r ../submission.zip *
.PHONY: up
up: $(PDFNAMES)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment