IDLDIR = idl
endif
-SUBDIRS = $(IDLDIR) src doc salome_adm bin resources
+SUBDIRS = $(IDLDIR) salome_adm src doc bin resources
-DIST_SUBDIRS= idl src doc salome_adm bin resources
+DIST_SUBDIRS= idl salome_adm src doc bin resources
DISTCLEANFILES = a.out
rm -f config.guess config.sub ltmain.sh
# Files created by automake
rm -rf install-sh missing compile depcomp py-compile
+rm -f salome_adm/unix/SALOMEconfig.ref.in
cd $here
find bin -name Makefile.in | xargs rm -f
find doc -name Makefile.in | xargs rm -f
#
#AC_PREREQ(2.59)
#AC_INIT(src)
-AC_INIT([Salome2 Project], [3.1.0], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project], [3.2.0], [gboulant@CS], [salome])
# AC_CONFIG_AUX_DIR defines an alternative directory where to find the auxiliary
# scripts such as config.guess, install-sh, ...
PACKAGE=salome
AC_SUBST(PACKAGE)
-VERSION=3.1.0
+VERSION=3.2.0
AC_SUBST(VERSION)
# autoscan, the Makefile list is generated in the output file configure.scan.
# This could be helpfull to update de configuration.
AC_OUTPUT([ \
- ./salome_adm/unix/SALOMEconfig.h \
+ ./salome_adm/unix/SALOMEconfig.ref \
./salome_adm/Makefile \
./salome_adm/unix/Makefile \
./salome_adm/unix/config_files/Makefile \
DEPRECATED/make_module.in \
DEPRECATED/make_omniorb.in
+# rules for install and build (see make_common_starter.am)
+salomeadmux_DATA = SALOMEconfig.h
+BUILT_SOURCES=SALOMEconfig.h
+
+# test if SALOMEconfig.ref has changed (contents), at build time
+SALOMEconfig.h: $(top_builddir)/salome_adm/unix/SALOMEconfig.ref
+ @if ! [ -a $@ ]; then \
+ cp -p $< $@; \
+ fi; \
+ if ! cmp $< $@; then \
+ cp -p $< $@; \
+ fi;
+
# The deprecated files are deprecated for the KERNEL but not for the
# related modules (GUI, MED, ...), for now. Some files have to be installed.
dist_salomeadmux_DATA=\
- SALOMEconfig.h.in \
+ SALOMEconfig.h \
pythonbe.py \
$(DEPRECATED_FILES)