Salome HOME
Distribute CMakeLists.txt files with sources (make dist)
authorvsr <vsr@opencascade.com>
Wed, 20 Mar 2013 12:07:34 +0000 (12:07 +0000)
committervsr <vsr@opencascade.com>
Wed, 20 Mar 2013 12:07:34 +0000 (12:07 +0000)
adm_local/unix/make_common_starter.am

index 295f19f813747e09386e7c32a4fa9b0e63df04e5..86c6f900ec2d83798361eda695509521bc6f40ce 100644 (file)
@@ -64,6 +64,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 $@
@@ -82,7 +87,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: