@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; \
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; \
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; \
cp -fr $(srcdir)/SMESH/HTML/ SMESH/
rm -fr INPUT
-dev_docs: docs
-
clean:
rm -fr SMESH