mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
45 lines
796 B
Makefile
45 lines
796 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)/GEOM_index.html GEOM_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 GEOM_index.html $(docdir)
|
||
|
|
||
|
uninstall:
|
||
|
@@SETX@; for d in $(SUBDIRS); do \
|
||
|
(cd $$d && $(MAKE) $@) || exit 1; \
|
||
|
done; \
|
||
|
rm -fr $(docdir)/GEOM_index.html
|