smesh/doc/salome/Makefile.in
2004-04-05 07:13:18 +00:00

45 lines
800 B
Makefile

# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001
# $Header$
#
# source path
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@
SUBDIRS= tui gui
@COMMENCE@
docs:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
cp -f $(srcdir)/SMESH_index.html SMESH_index.html
clean:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
distclean: clean
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
install:
$(MAKE) docs
(cd tui && $(MAKE) install);
(cd gui && $(MAKE) install);
cp -f SMESH_index.html $(docdir)
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
rm -fr $(docdir)/SMESH_index.html