# 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 $@
# 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: