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

minor

parent 4a6f1b76
Pipeline #38148 passed with stage
in 30 seconds
......@@ -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 \\\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 '/\\\end{document}/q' $$file ; done
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