Salome HOME
Merge from V6_main 01/04/2013
[plugins/hexoticplugin.git] / adm_local / unix / make_common_starter.am
index 623dfe5a5f596047303a3b56019ba658403f2e02..6a073bf3a6a0a86ebe6830f4a3c3dca69727c083 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -62,6 +62,11 @@ docdir             = $(datadir)/doc/salome
 
 # common rules
 
+# ============================================================
+# Cmake files wildcard (to add then to the distribution)
+# ============================================================
+CMAKEFILES         = $(notdir $(wildcard $(srcdir)/CMakeLists.txt))
+
 # meta object implementation files generation (moc)
 %_moc.cxx: %.h
        $(MOC) $< -o $@
@@ -80,7 +85,8 @@ ui_%.h: %.ui
 
 # extra distributed files
 EXTRA_DIST = $(MOC_FILES:%_moc.cxx=%.h) $(QRC_FILES:qrc_%.cxx=%.qrc) \
-             $(UIC_FILES:ui_%.h=%.ui) $(nodist_salomeres_DATA:%.qm=%.ts)
+             $(UIC_FILES:ui_%.h=%.ui) $(nodist_salomeres_DATA:%.qm=%.ts) \
+             $(CMAKEFILES)
 
 # customize clean operation
 mostlyclean-local: