]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Porting to Mandrake 10.1 and new products:
authormpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:22:12 +0000 (04:22 +0000)
committermpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:22:12 +0000 (04:22 +0000)
OCC 5.2.3 compatibility: different Plugin formats for OCAF in different versions

Makefile.in
resources/Plugin [deleted file]
resources/Plugin.in [new file with mode: 0755]

index 5c92e402e779095989ee492e830ebc35c5d90c73..1d9104d3a9e527e2448df7305e90e97fbcf6b261 100644 (file)
@@ -83,7 +83,6 @@ uc_del.png \
 uc_new.png \
 uc_clear.png \
 channel.cfg \
-Plugin \
 SALOMEDS_Resources
 
 BIN_SCRIPT= \
@@ -175,6 +174,10 @@ install-bin: $(BIN_SCRIPT)
        $(INSTALL) -d  $(bindir)
        $(INSTALL_PROGRAM) $^ $(bindir)
 
+# install Plugin file
+install-plugin: $(top_builddir)/share/salome/resources/Plugin
+       ($(INSTALL_DATA) $^ $(datadir)/resources/. || exit 1); \
+
 uninstall: uninstall-idl
 
 uninstall-idl:
@@ -190,5 +193,9 @@ distclean-other:
 
 @MODULE@
 
-install: install-bin install-include install-make install-end
+$(top_builddir)/share/salome/resources/Plugin: resources/Plugin
+       cp -f $< $@ ; \
+
+resources: $(top_builddir)/share/salome/resources/Plugin
 
+install: install-bin install-include install-make install-plugin install-end
diff --git a/resources/Plugin b/resources/Plugin
deleted file mode 100644 (file)
index 8212624..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-! Description of available plugins
-! ********************************
-!
-a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin
-!
-! standard attribute drivers plugin
-!
-ad696000-5b34-11d1-b5ba-00a0c9064368.Location: PAppStdPlugin
-ad696001-5b34-11d1-b5ba-00a0c9064368.Location: PAppStdPlugin
-ad696002-5b34-11d1-b5ba-00a0c9064368.Location: PAppStdPlugin
diff --git a/resources/Plugin.in b/resources/Plugin.in
new file mode 100755 (executable)
index 0000000..3d4fad5
--- /dev/null
@@ -0,0 +1,10 @@
+! Description of available plugins
+! ********************************
+!
+a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin
+!
+! standard attribute drivers plugin
+!
+ad696000-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@
+ad696001-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@
+ad696002-5b34-11d1-b5ba-00a0c9064368.Location: @CAS_STDPLUGIN@