From: vsr Date: Wed, 20 Mar 2013 12:10:57 +0000 (+0000) Subject: Distribute CMakeLists.txt files with sources (make dist) X-Git-Tag: V6_main_FINAL~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8155e41f503bd0bc6c9f6bef4ef8eba9e2d32c9d;p=plugins%2Fhybridplugin.git Distribute CMakeLists.txt files with sources (make dist) --- diff --git a/adm_local/unix/make_common_starter.am b/adm_local/unix/make_common_starter.am index 694041f..7cb982d 100644 --- a/adm_local/unix/make_common_starter.am +++ b/adm_local/unix/make_common_starter.am @@ -58,6 +58,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 $@ @@ -76,7 +81,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: