Skip to content
Snippets Groups Projects
Commit 884d4164 authored by Thimo Neubauer's avatar Thimo Neubauer
Browse files

added --disable-documentation mechanism

fixes bug #13

[[Imported from SVN: r257]]
parent 569390ff
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,11 @@ AC_CHECK_PROGS([DVIPS], [dvips], [true]) ...@@ -28,6 +28,11 @@ AC_CHECK_PROGS([DVIPS], [dvips], [true])
AC_CHECK_PROGS([WML], [wml], [true]) AC_CHECK_PROGS([WML], [wml], [true])
DUNE_INKSCAPE DUNE_INKSCAPE
# doxygen and latex take a lot of time...
AC_ARG_ENABLE(documentation,
AC_HELP_STRING([--disable-documentation],[don't generate docs, speeds up the build]))
AM_CONDITIONAL(BUILD_DOCS, test x$enable_documentation != xno)
# special variable to include the documentation into the website # special variable to include the documentation into the website
AC_ARG_WITH(duneweb, AC_ARG_WITH(duneweb,
AC_HELP_STRING([--with-duneweb=PATH],[Only needed for website-generation, path to checked out version of dune-web])) AC_HELP_STRING([--with-duneweb=PATH],[Only needed for website-generation, path to checked out version of dune-web]))
......
...@@ -5,7 +5,9 @@ EXTRA_DIST = Buildsystem ...@@ -5,7 +5,9 @@ EXTRA_DIST = Buildsystem
SUBDIRS = devel appl doxygen layout istl SUBDIRS = devel appl doxygen layout istl
PAGES = index.html if BUILD_DOCS
PAGES = index.html
endif
all: $(PAGES) all: $(PAGES)
......
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
EXTRA_DIST = Doxyfile Doxydep \ EXTRA_DIST = Doxyfile Doxydep \
doxy-footer.html doxy-header.html dune-doxy.css mainpage doxy-footer.html doxy-header.html dune-doxy.css mainpage
all: doxygen-tag if BUILD_DOCS
WHAT = doxygen-tag
endif
all: $(WHAT)
# setting like in dune-web # setting like in dune-web
CURDIR=doc/doxygen CURDIR=doc/doxygen
......
...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
SUBDIRS = comm SUBDIRS = comm
dist_pkgdata_DATA = istl.pdf istl.ps if BUILD_DOCS
DOCS = istl.pdf istl.ps
endif
dist_pkgdata_DATA = $(DOCS)
# rerun TEX if log-file suggests that # rerun TEX if log-file suggests that
.tex.dvi: .tex.dvi:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment