X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FYamsPlug%2Fdoc%2FMakefile.am;h=d32f6589d1c229db3da82e05c741f2487820f1aa;hp=e498dbb25e887cb2c5aa3212c1af8a9aa1b9b90b;hb=adfe3931a84de61ea56bb575f02abbd4fc1f7690;hpb=1f21d80b1bd736e29c02d754528794e25952127a diff --git a/src/Tools/YamsPlug/doc/Makefile.am b/src/Tools/YamsPlug/doc/Makefile.am index e498dbb25..d32f6589d 100644 --- a/src/Tools/YamsPlug/doc/Makefile.am +++ b/src/Tools/YamsPlug/doc/Makefile.am @@ -5,13 +5,22 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am yamsdocdir=$(docdir)/gui/SMESH/yams +RSTFILES = lct.rst \ + index.rst \ + editHypo.rst \ + Mandatory_params.rst \ + Generics_params.rst \ + Advanced_params.rst + +EXTRA_DIST += $(RSTFILES) images + # You can set these variables from the command line. SPHINXOPTS = SOURCEDIR = $(srcdir) SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build -CONF_FILE_DIR = . +CONF_FILE_DIR = $(top_builddir)/src/Tools/YamsPlug/doc # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 @@ -20,9 +29,6 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -c $(CONF_FILE_DIR) $(PAPEROPT_$(PAPER .PHONY: help clean html latexpdf -all: - make html - help: @echo "Please use \`make ' where is one of" @echo " html to make standalone HTML files" @@ -42,14 +48,16 @@ help: @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" -install-data-local: all - test -z $(yamsdocdir) || mkdir -p $(yamsdocdir) - cp -rf $(BUILDDIR)/html/* $(yamsdocdir) ; +install-data-local: $(BUILDDIR)/html/index.html + -test -z $(yamsdocdir) || mkdir -p $(yamsdocdir) && cp -rf $(BUILDDIR)/html/* $(yamsdocdir) ; + +uninstall-local: + -test -d $(yamsdocdir) && chmod -R +w $(yamsdocdir) && rm -rf $(yamsdocdir)/* -clean: +clean-local: -rm -rf $(BUILDDIR)/* -html: +$(BUILDDIR)/html/index.html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."