From 76e8fd2ab5f3b1a4fca9b0d3dcc4eec0bd623a54 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 20 Mar 2013 12:07:34 +0000 Subject: [PATCH] Distribute CMakeLists.txt files with sources (make dist) --- adm_local/unix/make_common_starter.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/adm_local/unix/make_common_starter.am b/adm_local/unix/make_common_starter.am index 295f19f81..86c6f900e 100644 --- a/adm_local/unix/make_common_starter.am +++ b/adm_local/unix/make_common_starter.am @@ -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: -- 2.39.2