Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
8c3f5cb3
Commit
8c3f5cb3
authored
8 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
support generation of manual in ePUB format
parent
9954d5d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Makefile
+13
-1
13 additions, 1 deletion
doc/Makefile
with
13 additions
and
1 deletion
doc/Makefile
+
13
−
1
View file @
8c3f5cb3
...
...
@@ -22,7 +22,7 @@ endif
SOURCES
=
$(
wildcard src/
*
.txt
)
OBJECTS
=
$(
SOURCES:src/%.txt
=
$(
RSTDIR
)
/%.rst
)
.PHONY
:
help clean-all clean html pdf old venv
.PHONY
:
help clean-all clean
epub
html pdf old venv
# ------------------------------------------
...
...
@@ -32,6 +32,7 @@ help:
@
echo
" pdf create Manual.pdf and Developer.pdf in this dir"
@
echo
" old create old-style HTML doc pages in old dir"
@
echo
" fetch fetch HTML and PDF files from LAMMPS web site"
@
echo
" epub create ePUB file with manual in this dir"
@
echo
" clean remove all intermediate RST files"
@
echo
" clean-all reset the entire build environment"
@
echo
" txt2html build txt2html tool"
...
...
@@ -63,6 +64,17 @@ html: $(OBJECTS)
@
rm
-rf
html/USER/
*
/
*
.[sg]
*
@
echo
"Build finished. The HTML pages are in doc/html."
epub
:
$(OBJECTS)
@
(
\
.
$(
VENV
)
/bin/activate
;
\
cp
-r
src/
*
$(
RSTDIR
)
/
;
\
sphinx-build
-j
8
-b
epub
-c
utils/sphinx-config
-d
$(
BUILDDIR
)
/doctrees
$(
RSTDIR
)
epub
;
\
deactivate
;
\
)
@
mv
-f
epub/LAMMPS.epub .
@
rm
-rf
epub
@
echo
"Build finished. The ePUB file LAMMPS.epub is created/updated."
pdf
:
utils/txt2html/txt2html.exe
@
(
\
cd
src
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment