]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
SALOME versioning system improvement
authorvsr <vsr@opencascade.com>
Fri, 26 May 2006 12:44:07 +0000 (12:44 +0000)
committervsr <vsr@opencascade.com>
Fri, 26 May 2006 12:44:07 +0000 (12:44 +0000)
Makefile.in

index fa9da45ed69e289221a102625e7ca46f01b90467..e117eba9a2b0313690b411587fc4986f38f4725f 100644 (file)
@@ -27,7 +27,7 @@
 top_srcdir=@top_srcdir@
 top_builddir=.
 srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
+VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl
 
 
 @COMMENCE@
@@ -43,13 +43,18 @@ BIN_SCRIPT = VERSION
 include_list = include/salome/SALOMEconfig.h \
                include/salome/GHS3DPLUGIN_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) ../../$< $@
@@ -68,7 +73,8 @@ include/salome/sstream: salome_adm/unix/sstream
        $(LN_S) ../../$< $@
 
 include/salome/GHS3DPLUGIN_version.h: GHS3DPLUGIN_version.h
-       cp $< $@
+       -$(RM) $@
+       $(LN_S) ../../$< $@
 
 # install script in $(bindir) :
 install-bin: $(BIN_SCRIPT)