Distribute CMakeLists.txt files with sources (make dist)

This commit is contained in:
vsr 2013-03-20 12:07:15 +00:00
parent a679a233ff
commit acc7e3ba8d

View File

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