Salome HOME
Movement of examples to CVS EXAMPLES SAMPLES_SRC.
[modules/visu.git] / Makefile.in
index 1cf5b3fdd210303cc73a6a6318a558022f7800f5..519f470bb4bc0e201ba44c9d3c615f5a10d3c356 100644 (file)
@@ -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