Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF generate target and scripts #1

Merged
merged 12 commits into from Oct 27, 2020

add downloading additional repos

  • Loading branch information
mmicko committed Oct 21, 2020
commit eada5da77b4402ac4127aed8d9eeb9c0934316b1
@@ -6,6 +6,7 @@ RUN set -e -x ;\
apt -y update ;\
apt -y install \
make \
git \
python3 \
latexmk python3-sphinx texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended; \
apt -y autoremove ;\
@@ -1,9 +1,15 @@
html:
html: download
$(MAKE) -C docs html

pdf:
pdf: download
$(MAKE) -C docs latexpdf

clean:
$(MAKE) -C docs clean
rm -rf docs/build

download:
@if [ ! -d docs/source/mcy ]; then git clone https://github.com/yosyshq/mcy docs/source/mcy; fi
@cd docs/source/mcy && git pull
@if [ ! -d docs/source/SymbiYosys ]; then git clone https://github.com/yosyshq/SymbiYosys docs/source/SymbiYosys; fi
@cd docs/source/SymbiYosys && git pull
ProTip! Use n and p to navigate between commits in a pull request.