Commit d7c6f57f authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15617 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 0bcd9019
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
# 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
+0 −2
Original line number Diff line number Diff line
@@ -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