Update build and install processes for GUI and TUI documentation.

This commit is contained in:
mkr 2006-05-29 08:17:38 +00:00
parent 22a36fd5e3
commit 78296700e3
3 changed files with 19 additions and 15 deletions

View File

@ -18,16 +18,13 @@ SUBDIRSTUI= tui
@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; \
@ -35,20 +32,29 @@ dev_docs:
clean: clean:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done done
distclean: clean distclean: clean
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(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/GEOM; then \
(cd $$d && $(MAKE) $@); \
fi; \
done
uninstall: uninstall:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done; \ done; \

View File

@ -14,11 +14,11 @@ VPATH=.:@srcdir@
@COMMENCE@ @COMMENCE@
docs: usr_docs:
cp -fr $(srcdir)/GEOM ./ cp -fr $(srcdir)/GEOM ./
-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

@ -22,7 +22,7 @@ PYTHON_SCRIPTS = \
#PYTHON_SCRIPTS_PY2 = py2/geompy.py py2/GEOM_TestMeasures.py #PYTHON_SCRIPTS_PY2 = py2/geompy.py py2/GEOM_TestMeasures.py
docs: dev_docs:
cp -fr $(srcdir)/GEOM ./INPUT; \ cp -fr $(srcdir)/GEOM ./INPUT; \
cp -fr ./GEOM/doxyfile ./GEOM/doxyfile_py ./INPUT; \ cp -fr ./GEOM/doxyfile ./GEOM/doxyfile_py ./INPUT; \
cp -fr ./GEOM/sources/static/tree.js ./INPUT/sources/static; \ cp -fr ./GEOM/sources/static/tree.js ./INPUT/sources/static; \
@ -66,8 +66,6 @@ docs:
cp -fr $(srcdir)/GEOM/HTML/ GEOM/ cp -fr $(srcdir)/GEOM/HTML/ GEOM/
rm -fr INPUT rm -fr INPUT
dev_docs: docs
clean: clean:
rm -fr GEOM rm -fr GEOM