git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15617 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2016-09-21 20:50:23 +00:00
parent 0bcd90195d
commit d7c6f57fe4
2 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,5 @@
# Makefile for LAMMPS documentation
SHA1 = $(shell echo $USER-$PWD | python utils/sha1sum.py)
BUILDDIR = /tmp/lammps-docs-$(SHA1)
RSTDIR = $(BUILDDIR)/rst
@ -23,7 +24,7 @@ OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst)
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make HTML version of documentation using Sphinx"
@echo " pdf to make Manual.pdf"
@echo " pdf to make Manual.pdf and Developer.pdf"
@echo " txt2html to build txt2html tool"
@echo " clean to remove all generated RST files"
@echo " clean-all to reset the entire build environment"
@ -51,11 +52,15 @@ pdf: utils/txt2html/txt2html.exe
@(\
cd src; \
../utils/txt2html/txt2html.exe -b *.txt; \
htmldoc --batch ../lammps.book; \
htmldoc --batch ../utils/pdfbook/lammps.book; \
for s in `echo *.txt | sed -e 's,\.txt,\.html,g'` ; \
do grep -q $$s ../lammps.book || \
echo doc file $$s missing in lammps.book; done; \
do grep -q $$s ../utils/pdfbook/lammps.book || \
echo doc file $$s missing in utils/pdfbook/lammps.book; done; \
rm *.html; \
cd Developer; \
pdflatex developer; \
pdflatex developer; \
mv developer.pdf ../../Developer.pdf; \
)
utils/txt2html/txt2html.exe: utils/txt2html/txt2html.cpp

View File

@ -247,7 +247,6 @@ fix_smd_integrate_tlsph.html
fix_smd_integrate_ulsph.html
fix_smd_move_triangulated_surface.html
fix_smd_setvel.html
fix_smd_tlsph_reference_configuration.html
fix_smd_wall_surface.html
fix_spring.html
fix_spring_chunk.html
@ -262,7 +261,6 @@ fix_temp_rescale.html
fix_temp_rescale_eff.html
fix_tfmc.html
fix_thermal_conductivity.html
fix_ti_rs.html
fix_ti_spring.html
fix_tmd.html
fix_ttm.html