@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/GUI; 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/GUI; 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/GUI; then \
+ (cd $$d && $(MAKE) $@); \
+ fi; \
+ done
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+ if test -d $$d/GUI; then \
+ (cd $$d && $(MAKE) $@) || exit 1; \
+ fi; \
done; \
@COMMENCE@
-docs:
+usr_docs:
cp -fr $(srcdir)/GUI ./
-find $(PWD) -name CVS -prune -exec rm -rf {} \;
ln -sf ${KERNEL_ROOT_DIR}/share/doc/salome/index.html ./GUI/kernel_index.html
ln -sf ${KERNEL_ROOT_DIR}/share/doc/salome/UnitTests.html ./GUI/UnitTests.html
ln -sf ${KERNEL_ROOT_DIR}/share/doc/salome/SALOME_Application.html ./GUI/SALOME_Application.html
-usr_docs: docs
+docs: usr_docs
clean:
rm -fr `ls | grep -v "Makefile"`
@COMMENCE@
-docs:
- cp -fr $(srcdir)/SUIT ./INPUT; \
- cp -f ./SUIT/doxyfile ./INPUT; \
+dev_docs:
+ cp -fr $(srcdir)/GUI ./INPUT; \
+ cp -f ./GUI/doxyfile ./INPUT; \
cd INPUT; \
sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
echo "Running doxygen in directory:"`pwd`; \
$(doxygen) ./doxyfile; \
cd ../; \
- cp -fr $(srcdir)/SUIT/sources/ SUIT ; \
+ cp -fr $(srcdir)/GUI/sources/ GUI ; \
rm -fr INPUT
-dev_docs: docs
-
clean:
- rm -fr SUIT
+ rm -fr GUI
distclean: clean
rm -fr INPUT
install:
$(INSTALL) -d $(docdir); \
mkdir -p $(docdir)/tui
- cp -fr SUIT $(docdir)/tui
+ cp -fr GUI $(docdir)/tui
uninstall:
- rm -fr $(docdir)/tui/SUIT
+ rm -fr $(docdir)/tui/GUI