Salome HOME
Merge from V6_main 28/02/2013
[modules/kernel.git] / resources / Makefile.am
index 6872021531be1f28dd479538b195754c78ca8d0c..1881203ef4d80f461ed5d665ee5b4e8a883fb7f2 100644 (file)
@@ -1,28 +1,30 @@
-# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
-#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either 
+# License as published by the Free Software Foundation; either
 # version 2.1 of the License.
-# 
-# This library is distributed in the hope that it will be useful 
-# but WITHOUT ANY WARRANTY; without even the implied warranty of 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 # Lesser General Public License for more details.
-# 
-# You should have received a copy of the GNU Lesser General Public  
-# License along with this library; if not, write to the Free Software 
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-# 
+#
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-# 
-# -* Makefile *- 
 #
+
+# -* Makefile *- 
 # Author : Guillaume Boulant (CSSI)
 # Module : KERNEL 
 # $Header$
 #
-
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
 #
@@ -31,12 +33,23 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 # ===============================================================
 #
 
-DEPRECATED_FILES=
+if WITHONLYLAUNCHER
+  dist_salomeres_DATA=\
+       CatalogModulePersonnel.xml_skel
 
-dist_salomeres_DATA=\
-       CatalogResources.xml \
-       config \
+  # VSR: little trick to avoid putting if generated files to the distribution archive
+  nodist_salomeres_DATA=\
+       CatalogResources.xml
+else
+  dist_salomeres_DATA=\
+       CatalogModulePersonnel.xml_skel \
        channel.cfg \
-       KERNELCatalog.xml \
-       SALOMEDS_Resources \
-       $(DEPRECATED_FILES)
+       SALOMEDS_Resources 
+
+  # VSR: little trick to avoid putting if generated files to the distribution archive
+  nodist_salomeres_DATA=\
+       CatalogResources.xml \
+       KERNELCatalog.xml
+endif
+
+EXTRA_DIST += CatalogDataType.xml