@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/GEOM; 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/GEOM; 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/GEOM; then \
+ (cd $$d && $(MAKE) $@); \
+ fi; \
+ done
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+ if test -d $$d/GEOM; then \
+ (cd $$d && $(MAKE) $@) || exit 1; \
+ fi; \
done; \
#PYTHON_SCRIPTS_PY2 = py2/geompy.py py2/GEOM_TestMeasures.py
-docs:
+dev_docs:
cp -fr $(srcdir)/GEOM ./INPUT; \
cp -fr ./GEOM/doxyfile ./GEOM/doxyfile_py ./INPUT; \
cp -fr ./GEOM/sources/static/tree.js ./INPUT/sources/static; \
cp -fr $(srcdir)/GEOM/HTML/ GEOM/
rm -fr INPUT
-dev_docs: docs
-
clean:
rm -fr GEOM