X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=519f470bb4bc0e201ba44c9d3c615f5a10d3c356;hb=ab526e7ae271b0ba2850108f583fad61383e30ab;hp=8e49624084b5e1df0b9b38e3bf0eed1a799c03d6;hpb=11b47d48aa238206c0a6493749a1ac8a9fd93c69;p=modules%2Fvisu.git diff --git a/Makefile.in b/Makefile.in index 8e496240..519f470b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,38 +14,10 @@ VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl: @COMMENCE@ -SUBDIRS = idl src - -RESOURCES_FILES = \ -ModuleVisu.png \ -Visu_anim.png \ -Visu_cutplane.png \ -Visu_deformed.png \ -Visu_deformed_anim.png \ -Visu_eraseall.png \ -Visu_isosurfaces.png \ -Visu_plot2d.png \ -Visu_plot3d.png \ -Visu_points.png \ -Visu_sameas.png \ -Visu_scalars.png \ -Visu_scalars_anim.png \ -Visu_selectall.png \ -Visu_selectionactor.png \ -Visu_selectioncell.png \ -Visu_selectionedge.png \ -Visu_selectionpoint.png \ -Visu_selectonly.png \ -Visu_surface.png \ -Visu_vectors.png \ -Visu_wireframe.png \ -Visu_scaling.png \ -VISU_en.xml \ -VISU_fr.xml \ -Visu_tree_visu.png \ -Visu_streamlines.png - -BIN_SCRIPT= +SUBDIRS = idl src doc + +BIN_SCRIPT= \ +VERSION # copy header files in common directory @@ -57,10 +29,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 -f $< $@; \ + fi; \ + if ! cmp $< $@; then \ + cp -p -f $< $@; \ + fi; \ + include/salome/sstream: salome_adm/unix/sstream -$(RM) $@ $(LN_S) ../../$< $@ @@ -82,7 +63,7 @@ install-include: $(include_list) $(INSTALL) -d $(includedir) @for f in X $(include_list); do \ if test $$f != X; then \ - ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \ + ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \ fi; \ done