Skip to content
Snippets Groups Projects
Commit 1990618e authored by Markus Blatt's avatar Markus Blatt
Browse files

make istl-dist now copies documentation tree from dune/doc/istl.

[[Imported from SVN: r1974]]
parent c6c46b40
No related branches found
No related tags found
No related merge requests found
# $Id$
SUBDIRS = . doc tutorial test paamg
SUBDIRS = . tutorial test paamg
SOURCES = allocator.hh basearray.hh bcrsmatrix.hh bvector.hh gsetc.hh io.hh istlexception.hh istl.hh vbcrsmatrix.hh vbvector.hh ilu.hh operators.hh preconditioners.hh solvers.hh indexset.hh communicator.hh remoteindices.hh mpitraits.hh interface.hh indicessyncer.hh matrixindexset.hh selection.hh
......@@ -10,7 +10,9 @@ istl_HEADERS = $(SOURCES)
## --- istl-only tarball stuff
# which documentation files should be put into special istl-only-tarball
DISTDOCS = doc/istl.tex doc/istl.bib doc/istl.ps doc/istl.pdf
DISTDOCS = istl.tex istl.bib istl.ps istl.pdf \
comm/communication.pdf comm/communication.ps comm/indexset.cc \
comm/reverse.hh comm/buildindexset.hh
# same for tutorial
DISTTUT = tutorial/example.cc
......@@ -28,11 +30,13 @@ RENAMESTUFF = README.istl-dist tutorial/Makefile.istl-dist
# more or less stolen from automake (a lot simpler though...)
istl-dist:
(cd doc && $(MAKE))
(cd ../doc && $(MAKE))
if test -e istl ; then echo Please remove `pwd`/istl!; exit 1; fi
mkdir -p istl
mkdir -p istl/dune
cp --parents $(SOURCES) $(DISTDOCS) $(DISTTUT) istl
mkdir -p istl/doc
cp --parents $(SOURCES) $(DISTTUT) istl
(cd $(top_srcdir)/doc/istl && cp --parents $(DISTDOCS) ../../istl/istl/doc )
(cd $(top_srcdir) && cp --parents $(DUNESTUFF) istl/istl/dune )
for NAME in $(RENAMESTUFF) ; do \
cp $$NAME istl/`dirname $$NAME`/`basename $$NAME .istl-dist`; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment