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

View File

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

View File

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