From: vsr Date: Fri, 26 May 2006 12:40:56 +0000 (+0000) Subject: SALOME versioning system improvement X-Git-Tag: V3_2_0rc~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58446d7297924ce7b3424b1a52a9fbd58ace01a1;p=plugins%2Fnetgenplugin.git SALOME versioning system improvement --- diff --git a/Makefile.in b/Makefile.in index 403b403..b62398f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -28,7 +28,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@ @@ -53,13 +53,18 @@ BIN_SCRIPT = VERSION include_list = include/salome/SALOMEconfig.h \ include/salome/NETGENPLUGIN_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) ../../$< $@ @@ -78,7 +83,8 @@ include/salome/sstream: salome_adm/unix/sstream $(LN_S) ../../$< $@ include/salome/NETGENPLUGIN_version.h: NETGENPLUGIN_version.h - cp $< $@ + -$(RM) $@ + $(LN_S) ../../$< $@ # install script in $(bindir) : install-bin: $(BIN_SCRIPT)