#  Copyright (C) 2003  CEA/DEN, EDF R&D
#
#
#
#  File   : Makefile.in
#  Author : Vasily Rusyaev (Open Cascade NN)
#  Module : doc
#  $Header: 

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)/GEOM_index_v3.1.0.html GEOM_index_v3.1.0.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 GEOM_index_v3.1.0.html $(docdir)

uninstall:
	@@SETX@; for d in $(SUBDIRS); do 	\
	   (cd $$d && $(MAKE) $@) || exit 1; 	\
	done; \
	rm -fr $(docdir)/GEOM_index_v3.1.0.html
