forked from lijiext/lammps
indent consistently with tabs only
This commit is contained in:
parent
4a5511d00a
commit
64e72b1cd5
33
doc/Makefile
33
doc/Makefile
|
@ -124,26 +124,27 @@ pdf: $(OBJECTS) $(ANCHORCHECK)
|
||||||
cd ../../; \
|
cd ../../; \
|
||||||
)
|
)
|
||||||
@(\
|
@(\
|
||||||
. $(VENV)/bin/activate ;\
|
. $(VENV)/bin/activate ;\
|
||||||
sphinx-build $(SPHINXEXTRA) -b latex -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) latex ;\
|
sphinx-build $(SPHINXEXTRA) -b latex -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) latex ;\
|
||||||
echo "############################################" ;\
|
echo "############################################" ;\
|
||||||
rst_anchor_check src/*.rst ;\
|
rst_anchor_check src/*.rst ;\
|
||||||
env LC_ALL=C grep -n '[^ -~]' $(RSTDIR)/*.rst ;\
|
env LC_ALL=C grep -n '[^ -~]' $(RSTDIR)/*.rst ;\
|
||||||
python utils/check-styles.py -s ../src -d src ;\
|
python utils/check-styles.py -s ../src -d src ;\
|
||||||
echo "############################################" ;\
|
echo "############################################" ;\
|
||||||
deactivate ;\
|
deactivate ;\
|
||||||
)
|
)
|
||||||
@cd latex && \
|
@cd latex && \
|
||||||
sed 's/latexmk -pdf -dvi- -ps-/pdflatex/g' Makefile > temp && \
|
sed 's/latexmk -pdf -dvi- -ps-/pdflatex/g' Makefile > temp && \
|
||||||
mv temp Makefile && \
|
mv temp Makefile && \
|
||||||
sed 's/\\begin{equation}//g' LAMMPS.tex > tmp.tex && \
|
sed 's/\\begin{equation}//g' LAMMPS.tex > tmp.tex && \
|
||||||
mv tmp.tex LAMMPS.tex && \
|
mv tmp.tex LAMMPS.tex && \
|
||||||
sed 's/\\end{equation}//g' LAMMPS.tex > tmp.tex && \
|
sed 's/\\end{equation}//g' LAMMPS.tex > tmp.tex && \
|
||||||
mv tmp.tex LAMMPS.tex && \
|
mv tmp.tex LAMMPS.tex && \
|
||||||
make && \
|
make && \
|
||||||
make && \
|
make && \
|
||||||
mv LAMMPS.pdf ../Manual.pdf && \
|
make && \
|
||||||
cd ../;
|
mv LAMMPS.pdf ../Manual.pdf && \
|
||||||
|
cd ../;
|
||||||
@rm -rf latex/_sources
|
@rm -rf latex/_sources
|
||||||
@rm -rf latex/PDF
|
@rm -rf latex/PDF
|
||||||
@rm -rf latex/USER
|
@rm -rf latex/USER
|
||||||
|
|
Loading…
Reference in New Issue