mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
Fix make distcheck problem
This commit is contained in:
parent
ad575b2e6a
commit
adfe3931a8
@ -71,4 +71,12 @@ install-data-local: usr_docs
|
|||||||
cp -rp $(srcdir)/images/head.png $(DESTDIR)$(docdir)/gui/SMESH/smeshpy_doc ;
|
cp -rp $(srcdir)/images/head.png $(DESTDIR)$(docdir)/gui/SMESH/smeshpy_doc ;
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -rf $(DESTDIR)$(docdir)/gui/SMESH
|
@test -d $(DESTDIR)$(guidocdir) && chmod -R +w $(DESTDIR)$(guidocdir) ; \
|
||||||
|
for filen in `find $(DESTDIR)$(guidocdir) -mindepth 1 -maxdepth 1` dummy ; do \
|
||||||
|
case $${filen} in \
|
||||||
|
dummy ) ;; \
|
||||||
|
$(DESTDIR)$(guidocdir)/yams ) ;; \
|
||||||
|
$(DESTDIR)$(guidocdir)/head.png ) ;; \
|
||||||
|
* ) echo "removing $${filen}" && rm -rf $${filen} ;; \
|
||||||
|
esac ; \
|
||||||
|
done
|
||||||
|
@ -5,7 +5,6 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am
|
|||||||
|
|
||||||
yamsdocdir=$(docdir)/gui/SMESH/yams
|
yamsdocdir=$(docdir)/gui/SMESH/yams
|
||||||
|
|
||||||
|
|
||||||
RSTFILES = lct.rst \
|
RSTFILES = lct.rst \
|
||||||
index.rst \
|
index.rst \
|
||||||
editHypo.rst \
|
editHypo.rst \
|
||||||
@ -13,7 +12,7 @@ RSTFILES = lct.rst \
|
|||||||
Generics_params.rst \
|
Generics_params.rst \
|
||||||
Advanced_params.rst
|
Advanced_params.rst
|
||||||
|
|
||||||
EXTRA_DIST += $(RSTFILES)
|
EXTRA_DIST += $(RSTFILES) images
|
||||||
|
|
||||||
# You can set these variables from the command line.
|
# You can set these variables from the command line.
|
||||||
SPHINXOPTS =
|
SPHINXOPTS =
|
||||||
@ -21,7 +20,7 @@ SOURCEDIR = $(srcdir)
|
|||||||
SPHINXBUILD = sphinx-build
|
SPHINXBUILD = sphinx-build
|
||||||
PAPER =
|
PAPER =
|
||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
CONF_FILE_DIR = .
|
CONF_FILE_DIR = $(top_builddir)/src/Tools/YamsPlug/doc
|
||||||
|
|
||||||
# Internal variables.
|
# Internal variables.
|
||||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
@ -30,9 +29,6 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -c $(CONF_FILE_DIR) $(PAPEROPT_$(PAPER
|
|||||||
|
|
||||||
.PHONY: help clean html latexpdf
|
.PHONY: help clean html latexpdf
|
||||||
|
|
||||||
all:
|
|
||||||
make html
|
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Please use \`make <target>' where <target> is one of"
|
@echo "Please use \`make <target>' where <target> is one of"
|
||||||
@echo " html to make standalone HTML files"
|
@echo " html to make standalone HTML files"
|
||||||
@ -52,14 +48,16 @@ help:
|
|||||||
@echo " linkcheck to check all external links for integrity"
|
@echo " linkcheck to check all external links for integrity"
|
||||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||||
|
|
||||||
install-data-local: all
|
install-data-local: $(BUILDDIR)/html/index.html
|
||||||
test -z $(yamsdocdir) || mkdir -p $(yamsdocdir)
|
-test -z $(yamsdocdir) || mkdir -p $(yamsdocdir) && cp -rf $(BUILDDIR)/html/* $(yamsdocdir) ;
|
||||||
cp -rf $(BUILDDIR)/html/* $(yamsdocdir) ;
|
|
||||||
|
|
||||||
clean:
|
uninstall-local:
|
||||||
|
-test -d $(yamsdocdir) && chmod -R +w $(yamsdocdir) && rm -rf $(yamsdocdir)/*
|
||||||
|
|
||||||
|
clean-local:
|
||||||
-rm -rf $(BUILDDIR)/*
|
-rm -rf $(BUILDDIR)/*
|
||||||
|
|
||||||
html:
|
$(BUILDDIR)/html/index.html:
|
||||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||||
|
Loading…
Reference in New Issue
Block a user