X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=519f470bb4bc0e201ba44c9d3c615f5a10d3c356;hb=b71c6ea9accedba54232b328797204d3e2a31673;hp=1cf5b3fdd210303cc73a6a6318a558022f7800f5;hpb=4b384b8adc1cafe13fb21fd07de076fa3d3a04b8;p=modules%2Fvisu.git diff --git a/Makefile.in b/Makefile.in index 1cf5b3fd..519f470b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,37 +14,7 @@ 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 \ -VISUCatalog.xml \ -Visu_tree_visu.png \ -Visu_streamlines.png +SUBDIRS = idl src doc BIN_SCRIPT= \ VERSION @@ -59,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) ../../$< $@ @@ -84,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