Update build and install processes for GUI and TUI documentation.

This commit is contained in:
mkr 2006-05-29 08:50:20 +00:00
parent 0371be0b56
commit c50ff63861
3 changed files with 19 additions and 15 deletions

View File

@ -36,16 +36,13 @@ SUBDIRSGUI= gui
@COMMENCE@
docs:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
usr_docs:
@@SETX@; for d in $(SUBDIRSGUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
docs: usr_docs
dev_docs:
@@SETX@; for d in $(SUBDIRSTUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
@ -53,20 +50,29 @@ dev_docs:
clean:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
if test -d $$d/SMESH; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done
distclean: clean
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
if test -d $$d/SMESH; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done
install:
$(MAKE) docs
(cd tui && $(MAKE) install);
(cd gui && $(MAKE) install);
@@SETX@; for d in $(SUBDIRS); do \
if test -d $$d/SMESH; then \
(cd $$d && $(MAKE) $@); \
fi; \
done
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
if test -d $$d/SMESH; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done; \

View File

@ -14,11 +14,11 @@ VPATH=.:@srcdir@
@COMMENCE@
docs:
usr_docs:
cp -fr $(srcdir)/SMESH ./
-find $(PWD) -name CVS -prune -exec rm -rf {} \;
usr_docs: docs
docs: usr_docs
clean:
rm -fr `ls | grep -v "Makefile"`

View File

@ -19,7 +19,7 @@ doxygen=@DOXYGEN@
PYTHON_SCRIPTS = \
smesh.py
docs:
dev_docs:
cp -fr $(srcdir)/SMESH ./INPUT; \
cp -fr ./SMESH/doxyfile ./SMESH/doxyfile_py ./INPUT; \
cp -fr ./SMESH/sources/static/tree.js ./INPUT/sources/static; \
@ -63,8 +63,6 @@ docs:
cp -fr $(srcdir)/SMESH/HTML/ SMESH/
rm -fr INPUT
dev_docs: docs
clean:
rm -fr SMESH