]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
SALOME versioning system improvement
authorvsr <vsr@opencascade.com>
Fri, 26 May 2006 09:34:29 +0000 (09:34 +0000)
committervsr <vsr@opencascade.com>
Fri, 26 May 2006 09:34:29 +0000 (09:34 +0000)
Makefile.in

index eeb82468ee831608b49503270014a82128026a20..bb07d28cb93d4d54233a1656093b0b79b2915ea9 100644 (file)
@@ -28,7 +28,7 @@
 top_srcdir=@top_srcdir@
 top_builddir=.
 srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
+VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
 
 
 @COMMENCE@
@@ -200,16 +200,23 @@ undo.png
 BIN_SCRIPT= \
 VERSION
 
+# copy header files in common directory
+
 include_list = include/salome/SALOMEconfig.h \
                include/salome/GEOM_version.h
 
-# copy header files in common directory
 ifneq ($(HAVE_SSTREAM),yes)
        include_list += include/salome/sstream
 endif
 
 inc: idl $(include_list)
 
+bin: bin/salome/VERSION
+
+bin/salome/VERSION : bin/VERSION
+       -$(RM) $@
+       $(LN_S) ../../$< $@
+
 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
        -$(RM) $@
        $(LN_S) ../../$< $@
@@ -228,7 +235,8 @@ include/salome/sstream: salome_adm/unix/sstream
        $(LN_S) ../../$< $@
 
 include/salome/GEOM_version.h: GEOM_version.h
-       cp $< $@
+       -$(RM) $@
+       $(LN_S) ../../$< $@
 
 depend: depend_idl