X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile.in;h=358348bb5fd69da3a9600d2fc8d70237f338fa37;hb=2af47703d9aa044afc97a4eb548776ef761c242a;hp=493e48a28768a918a95b01de2f88d27d0730c04b;hpb=a6ac62a3b7e07218a543797c8c8e48778e513a8c;p=modules%2Fmed.git diff --git a/Makefile.in b/Makefile.in index 493e48a28..358348bb5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17,13 +17,15 @@ VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl: SUBDIRS = idl src RESOURCES_FILES = \ -Med_en.xml \ +MEDCatalog.xml \ +MED_en.xml \ Data.png \ Infos.png \ Structure.png \ ModuleMed.png -BIN_SCRIPT= +BIN_SCRIPT= \ +VERSION # copy header files in common directory @@ -35,10 +37,19 @@ endif inc: idl $(include_list) -include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h +include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref -$(RM) $@ $(LN_S) ../../$< $@ +# test if SALOMEconfig.h has changed (contents) +salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h + @if ! [ -a $@ ]; then \ + cp -p $< $@; \ + fi; \ + if ! cmp $< $@; then \ + cp -p $< $@; \ + fi; \ + include/salome/sstream: salome_adm/unix/sstream -$(RM) $@ $(LN_S) ../../$< $@