Commit a90e61a2 authored by Markus Blatt's avatar Markus Blatt

Install example sources to doc/dune-grid-howto/examples.

Distribute a different Makefile for doc.
Make install  now works from the tarball and from the svn version, but
does different things:
tarball: install examples and pdf grid howto
svn: install additionally the html grid howto.

[[Imported from SVN: r120]]
parent 614ee858
......@@ -2,17 +2,23 @@
SUBDIRS = doc grids
noinst_HEADERS = elementdata.hh parfvdatahandle.hh unitcube_sgrid.hh \
examplesdir=$(datadir)/doc/dune-grid-howto/examples
examples_HEADERS = elementdata.hh parfvdatahandle.hh unitcube_sgrid.hh \
evolve.hh transportproblem2.hh unitcube_uggrid.hh \
finitevolumeadapt.hh transportproblem.hh unitcube_yaspgrid.hh \
functors.hh unitcube_albertagrid.hh vertexdata.hh \
initialize.hh unitcube_alugrid.hh vtkout.hh integrateentity.hh \
unitcube.hh parevolve.hh unitcube_onedgrid.hh
noinst_PROGRAMS = gettingstarted traversal integration othergrids\
examples_PROGRAMS = gettingstarted traversal integration othergrids\
adaptiveintegration finitevolume adaptivefinitevolume parfinitevolume\
visualization
examples_DATA = gettingstarted.cc traversal.cc integration.cc othergrids.cc \
adaptiveintegration.cc finitevolume.cc adaptivefinitevolume.cc \
parfinitevolume.cc visualization.cc
gettingstarted_SOURCES = gettingstarted.cc
gettingstarted_CXXFLAGS = $(MPI_CPPFLAGS) $(ALL_PKG_CPPFLAGS)
gettingstarted_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(MPI_LDFLAGS)
......
# $id: $
#SUBDIRS = EPS
EPS_FILES = EPS/adaptiveintegration_alberta2d.eps EPS/adaptiveintegration_ug3d.eps \
EPS/alberta2d.eps EPS/alberta2d-view1.eps EPS/alberta2d-view2.eps EPS/alberta3d.eps \
EPS/alucube3d.eps EPS/alusimplex3d.eps EPS/conc.eps EPS/iso.eps EPS/ug2dquad-view1.eps \
......@@ -34,9 +32,9 @@ endif
BASEDIR=../..
CURDIR=doc/grid-howto
docdir=$(datadir)/doc/dune/grid-howto
docdir=$(datadir)/doc/dune-grid-howto
doc_DATA = $(DOCS)
doc_DATA = grid-howto.pdf
EXTRAINSTALL = grid-howto.pdf grid-howto*.html *.png *.css
......@@ -58,6 +56,15 @@ grid-howto.html: $(DOCSOURCE)
$(T4HT) grid-howto.tex
$(TEX) grid-howto.tex
dist-hook:
cp $(srcdir)/Makefile.am.dist $(distdir)/Makefile.am
# install html version of howto
install-data-local: grid-howto.html
$(mkdir_p) $(DESTDIR)$(docdir)/html
$(INSTALL_DATA) grid-howto*.html *.png *.css $(DESTDIR)$(docdir)/html
EXTRA_TEXINPUTS:=$(top_srcdir)
include $(top_srcdir)/am/global-rules
......
docdir=$(datadir)/doc/dune-grid-howto
doc_DATA = grid-howto.pdf
include $(top_srcdir)/am/global-rules
include $(top_srcdir)/am/webstuff
include $(top_srcdir)/am/latex
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment