gnucash maint: Add CMakeLists.txt files to dist tarball generated by autotools

Geert Janssens gjanssens at code.gnucash.org
Mon Jul 10 14:09:05 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/b1f9f801 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e67f4500 (commit)



commit b1f9f8011014b2830b87e3cc0edc52576f1e1efd
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Jul 10 20:06:31 2017 +0200

    Add CMakeLists.txt files to dist tarball generated by autotools
    
    This is half of the work to align the cmake and autotools generated dist tarballs.
    What's missing in the cmake dist tarball on my system are all the files generated
    or installed by running autogen.sh. I can't test this because cmake can't run
    my version of automake (1.15), or at least our CMake configuration prevents this from happening.

diff --git a/Makefile.am b/Makefile.am
index d1e0bda..8e158b5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,10 @@ dist_doc_DATA = \
 
 EXTRA_DIST = \
   $(SWIG_DIST_FAIL) \
+  CMakeLists.txt \
+  cmake/cmake_uninstall.cmake.in \
+  cmake/README_CMAKE.txt \
+  cmake/CMakeLists.txt \
   make-gnucash-potfiles.in \
   macros/binreloc.m4 \
   macros/compiler-flags.m4 \
@@ -61,6 +65,9 @@ EXTRA_DIST = \
   macros/ax_python_devel.m4 \
   macros/ax_swig_python.m4 \
   macros/legacy_macros.m4 \
+  macros/CMakeLists.txt \
+  po/CMakeLists.txt \
+  po/glossary/CMakeLists.txt \
   po/gnucash.pot \
   po/POTFILES.in \
   po/POTFILES.skip \
@@ -94,7 +101,10 @@ EXTRA_DIST = \
   intltool-extract.in \
   intltool-merge.in \
   intltool-update.in \
-  util/gnc-vcs-info
+  test-templates/CMakeLists.txt \
+  test-templates/Makefile.am \
+  util/gnc-vcs-info \
+  util/CMakeLists.txt
 
 ## We borrow guile's convention and use @-...-@ as the substitution
 ## brackets here, instead of the usual @... at .  This prevents autoconf
diff --git a/accounts/C/Makefile.am b/accounts/C/Makefile.am
index e50743e..9b3bb35 100644
--- a/accounts/C/Makefile.am
+++ b/accounts/C/Makefile.am
@@ -21,4 +21,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/Makefile.am b/accounts/Makefile.am
index 1e1a7ca..b43c773 100644
--- a/accounts/Makefile.am
+++ b/accounts/Makefile.am
@@ -35,3 +35,4 @@ SUBDIRS = \
 	zh_HK \
 	zh_TW
 
+EXTRA_DIST = CMakeLists.txt
diff --git a/accounts/cs/Makefile.am b/accounts/cs/Makefile.am
index 364fd36..99c9b0c 100644
--- a/accounts/cs/Makefile.am
+++ b/accounts/cs/Makefile.am
@@ -19,4 +19,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/da/Makefile.am b/accounts/da/Makefile.am
index 9699f14..6bbcebb 100644
--- a/accounts/da/Makefile.am
+++ b/accounts/da/Makefile.am
@@ -8,4 +8,5 @@ account_DATA = \
   acctchrt_homeown.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/de_AT/Makefile.am b/accounts/de_AT/Makefile.am
index 40012d0..373c2af 100644
--- a/accounts/de_AT/Makefile.am
+++ b/accounts/de_AT/Makefile.am
@@ -10,3 +10,5 @@ dist_account_DATA = \
  acctchrt_houseown.gnucash-xea \
  acctchrt_investment.gnucash-xea \
  acctchrt_kids.gnucash-xea
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/accounts/de_CH/Makefile.am b/accounts/de_CH/Makefile.am
index 24ec52a..0d38f5f 100644
--- a/accounts/de_CH/Makefile.am
+++ b/accounts/de_CH/Makefile.am
@@ -10,4 +10,5 @@ account_DATA = \
   acctchrt_chkmu.gnucash-xea 
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/de_DE/Makefile.am b/accounts/de_DE/Makefile.am
index 60693c1..550cea6 100644
--- a/accounts/de_DE/Makefile.am
+++ b/accounts/de_DE/Makefile.am
@@ -20,4 +20,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea  \
+  CMakeLists.txt
diff --git a/accounts/el_GR/Makefile.am b/accounts/el_GR/Makefile.am
index 9963e20..63502f6 100644
--- a/accounts/el_GR/Makefile.am
+++ b/accounts/el_GR/Makefile.am
@@ -7,4 +7,5 @@ account_DATA = \
   acctchrt_brokerage.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/en_GB/Makefile.am b/accounts/en_GB/Makefile.am
index 0896af9..64553ab 100644
--- a/accounts/en_GB/Makefile.am
+++ b/accounts/en_GB/Makefile.am
@@ -22,4 +22,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/es_ES/Makefile.am b/accounts/es_ES/Makefile.am
index 336b8ad..c2250fc 100644
--- a/accounts/es_ES/Makefile.am
+++ b/accounts/es_ES/Makefile.am
@@ -19,5 +19,6 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
 
diff --git a/accounts/es_MX/Makefile.am b/accounts/es_MX/Makefile.am
index 20e6a70..6e3fcfe 100644
--- a/accounts/es_MX/Makefile.am
+++ b/accounts/es_MX/Makefile.am
@@ -19,5 +19,6 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+${account_DATA} \
+CMakeLists.txt
 
diff --git a/accounts/fi_FI/Makefile.am b/accounts/fi_FI/Makefile.am
index 83fd51e..f9ce46a 100644
--- a/accounts/fi_FI/Makefile.am
+++ b/accounts/fi_FI/Makefile.am
@@ -7,4 +7,5 @@ account_DATA = \
   acctchrt_ry.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/fr_CA/Makefile.am b/accounts/fr_CA/Makefile.am
index d776d74..dbba859 100644
--- a/accounts/fr_CA/Makefile.am
+++ b/accounts/fr_CA/Makefile.am
@@ -17,4 +17,5 @@ account_DATA = \
  acctchrt_revenus.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/fr_CH/Makefile.am b/accounts/fr_CH/Makefile.am
index 3423b37..0a7b1ce 100644
--- a/accounts/fr_CH/Makefile.am
+++ b/accounts/fr_CH/Makefile.am
@@ -20,4 +20,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/fr_FR/Makefile.am b/accounts/fr_FR/Makefile.am
index 65da42f..bec4d80 100644
--- a/accounts/fr_FR/Makefile.am
+++ b/accounts/fr_FR/Makefile.am
@@ -20,4 +20,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/hu_HU/Makefile.am b/accounts/hu_HU/Makefile.am
index a3b49ad..1cc8864 100644
--- a/accounts/hu_HU/Makefile.am
+++ b/accounts/hu_HU/Makefile.am
@@ -20,4 +20,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/it/Makefile.am b/accounts/it/Makefile.am
index 1392f7e..88dadf5 100644
--- a/accounts/it/Makefile.am
+++ b/accounts/it/Makefile.am
@@ -18,4 +18,5 @@ account_DATA = \
 
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/ja/Makefile.am b/accounts/ja/Makefile.am
index e2ccce1..63b7355 100644
--- a/accounts/ja/Makefile.am
+++ b/accounts/ja/Makefile.am
@@ -21,4 +21,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/ko/Makefile.am b/accounts/ko/Makefile.am
index 31ba2a0..5473dff 100644
--- a/accounts/ko/Makefile.am
+++ b/accounts/ko/Makefile.am
@@ -20,4 +20,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/lt/Makefile.am b/accounts/lt/Makefile.am
index 64aa91d..3a95f11 100644
--- a/accounts/lt/Makefile.am
+++ b/accounts/lt/Makefile.am
@@ -5,5 +5,6 @@ account_DATA = \
   acctchrt_business.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
 
diff --git a/accounts/lv/Makefile.am b/accounts/lv/Makefile.am
index f859258..a17c069 100644
--- a/accounts/lv/Makefile.am
+++ b/accounts/lv/Makefile.am
@@ -21,4 +21,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/nb/Makefile.am b/accounts/nb/Makefile.am
index 290efad..5a67c49 100644
--- a/accounts/nb/Makefile.am
+++ b/accounts/nb/Makefile.am
@@ -22,4 +22,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/nl/Makefile.am b/accounts/nl/Makefile.am
index 3f7ff88..860f7ea 100644
--- a/accounts/nl/Makefile.am
+++ b/accounts/nl/Makefile.am
@@ -6,4 +6,5 @@ account_DATA = \
   acctchrt_rgs_1.1.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/pl/Makefile.am b/accounts/pl/Makefile.am
index d03315a..2584d85 100644
--- a/accounts/pl/Makefile.am
+++ b/accounts/pl/Makefile.am
@@ -21,4 +21,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/pt_BR/Makefile.am b/accounts/pt_BR/Makefile.am
index 812bfe7..f272186 100644
--- a/accounts/pt_BR/Makefile.am
+++ b/accounts/pt_BR/Makefile.am
@@ -19,4 +19,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/pt_PT/Makefile.am b/accounts/pt_PT/Makefile.am
index c89868e..33a9250 100644
--- a/accounts/pt_PT/Makefile.am
+++ b/accounts/pt_PT/Makefile.am
@@ -18,4 +18,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/ru/Makefile.am b/accounts/ru/Makefile.am
index e300417..0aee455 100644
--- a/accounts/ru/Makefile.am
+++ b/accounts/ru/Makefile.am
@@ -8,4 +8,5 @@ account_DATA = \
   acctchrt_renter.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/sk/Makefile.am b/accounts/sk/Makefile.am
index 80e00d7..8e72d17 100644
--- a/accounts/sk/Makefile.am
+++ b/accounts/sk/Makefile.am
@@ -19,4 +19,5 @@ account_DATA = \
   acctchrt_spouseretire.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/sv_AX/Makefile.am b/accounts/sv_AX/Makefile.am
index 8e1d626..face1ef 100644
--- a/accounts/sv_AX/Makefile.am
+++ b/accounts/sv_AX/Makefile.am
@@ -7,4 +7,5 @@ account_DATA = \
     acctchrt_rf.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/sv_FI/Makefile.am b/accounts/sv_FI/Makefile.am
index 8e5ae7b..b90869d 100644
--- a/accounts/sv_FI/Makefile.am
+++ b/accounts/sv_FI/Makefile.am
@@ -7,4 +7,5 @@ account_DATA = \
     acctchrt_rf.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/sv_SE/Makefile.am b/accounts/sv_SE/Makefile.am
index 4b5c0a6..cb37583 100644
--- a/accounts/sv_SE/Makefile.am
+++ b/accounts/sv_SE/Makefile.am
@@ -6,4 +6,5 @@ account_DATA = \
 	acctchrt_common.gnucash-xea 
 EXTRA_DIST = \
   README.bas_2012 \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/tr_TR/Makefile.am b/accounts/tr_TR/Makefile.am
index 66c2036..cd773ab 100644
--- a/accounts/tr_TR/Makefile.am
+++ b/accounts/tr_TR/Makefile.am
@@ -12,4 +12,5 @@ account_DATA = \
  acctchrt_TEKDUZ.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/zh_CN/Makefile.am b/accounts/zh_CN/Makefile.am
index 1a42448..2bd1876 100644
--- a/accounts/zh_CN/Makefile.am
+++ b/accounts/zh_CN/Makefile.am
@@ -21,4 +21,5 @@ account_DATA = \
 
 EXTRA_DIST = \
   ${account_DATA} \
-  acctchrt_full.gnucash-xea 
+  acctchrt_full.gnucash-xea \
+  CMakeLists.txt
diff --git a/accounts/zh_HK/Makefile.am b/accounts/zh_HK/Makefile.am
index d7fafd5..d8dad2a 100644
--- a/accounts/zh_HK/Makefile.am
+++ b/accounts/zh_HK/Makefile.am
@@ -5,4 +5,5 @@ account_DATA = \
   acctchrt_business.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/accounts/zh_TW/Makefile.am b/accounts/zh_TW/Makefile.am
index 32f56b6..bc4ff24 100644
--- a/accounts/zh_TW/Makefile.am
+++ b/accounts/zh_TW/Makefile.am
@@ -5,4 +5,5 @@ account_DATA = \
   acctchrt_business.gnucash-xea
 
 EXTRA_DIST = \
-  ${account_DATA}
+  ${account_DATA} \
+  CMakeLists.txt
diff --git a/checks/Makefile.am b/checks/Makefile.am
index 94b3286..9524339 100644
--- a/checks/Makefile.am
+++ b/checks/Makefile.am
@@ -10,4 +10,4 @@ checks_DATA = \
 	quicken_check_21.chk \
 	quicken_3part.chk
 
-EXTRA_DIST = ${checks_DATA}
+EXTRA_DIST = ${checks_DATA} CMakeLists.txt
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8e70d4d..9dbc32d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,7 +34,8 @@ EXTRA_DIST = \
   gnucash.1.in \
   gtkrc-2.0.gnucash \
   misc-notes.txt \
-  tip_of_the_day.list.in
+  tip_of_the_day.list.in \
+  CMakeLists.txt
 
 ## We borrow guile's convention and use @-...-@ as the substitution
 ## brackets here, instead of the usual @... at .  This prevents autoconf
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 96dc4af..ce1cc3d 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -20,4 +20,5 @@ doc_DATA = \
   web.qif
 
 EXTRA_DIST = \
-  ${doc_DATA}
+  ${doc_DATA} \
+  CMakeLists.txt
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a593f13..96cecf2 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,5 +4,5 @@ else
 SUBDIRS = libc
 endif
 
-EXTRA_DIST = README
+EXTRA_DIST = README CMakeLists.txt
 
diff --git a/lib/libc/Makefile.am b/lib/libc/Makefile.am
index 56754db..1246948 100644
--- a/lib/libc/Makefile.am
+++ b/lib/libc/Makefile.am
@@ -17,7 +17,8 @@ EXTRA_libc_missing_la_SOURCES = \
   localtime_r.c \
   setenv.c \
   strfmon.c \
-  strptime.c
+  strptime.c \
+  CMakeLists.txt
 
 # This will automatically be filled in with the necessary object file
 # names.  Configure does this based upon the AC_REPLACE_FUNCS macros.
diff --git a/lib/stf/Makefile.am b/lib/stf/Makefile.am
index 91acf4f..381f2db 100644
--- a/lib/stf/Makefile.am
+++ b/lib/stf/Makefile.am
@@ -10,4 +10,4 @@ libgnc_stf_la_LIBADD = $(GOFFICE_LIBS)
 
 AM_CPPFLAGS = $(GOFFICE_CFLAGS)
 
-EXTRA_DIST = $(REALSRCS) $(REALHDRS)
+EXTRA_DIST = $(REALSRCS) $(REALHDRS) CMakeLists.txt
diff --git a/packaging/Makefile.am b/packaging/Makefile.am
index bc20ab5..17a41ad 100644
--- a/packaging/Makefile.am
+++ b/packaging/Makefile.am
@@ -1,6 +1,7 @@
 EXTRA_DIST = \
   gnucash.spec.in \
-  gnucash.spec
+  gnucash.spec \
+  CMakeLists.txt
 
 all-local: gnucash.spec
 
diff --git a/src/Makefile.am b/src/Makefile.am
index eb18b89..520e33f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,7 +59,22 @@ MAINTAINERCLEANFILES = swig-runtime.h
 
 EXTRA_DIST = \
   base-typemaps.i \
+  cmake_modules/MacroAppendForeach.cmake \
+  cmake_modules/GncAddSwigCommand.cmake \
+  cmake_modules/GncAddTest.cmake \
+  cmake_modules/MakeDist.cmake \
+  cmake_modules/COPYING-CMAKE-SCRIPTS.txt \
+  cmake_modules/MakeDistFiles.cmake \
+  cmake_modules/MacroAddSourceFileCompileFlags.cmake \
+  cmake_modules/MakeDistCheck.cmake \
+  cmake_modules/GncConfigure.cmake \
+  cmake_modules/GncAddSchemeTargets.cmake \
+  cmake_modules/GncAddGSchemaTargets.cmake \
+  cmake_modules/GncFindPkgConfig.cmake \
+  cmake_modules/CMakeLists.txt \
+  config.h.cmake.in \
   README.modules \
   gnc-test-env.pl \
   guile-mappings.h \
-  platform.h
+  platform.h \
+  CMakeLists.txt
diff --git a/src/app-utils/Makefile.am b/src/app-utils/Makefile.am
index 8f6206b..2666060 100644
--- a/src/app-utils/Makefile.am
+++ b/src/app-utils/Makefile.am
@@ -172,7 +172,8 @@ EXTRA_DIST = \
   app-utils.i \
   ${gncscmmod_DATA} \
   ${gncscm_DATA} \
-  ${prefsmigration_DATA}
+  ${prefsmigration_DATA} \
+  CMakeLists.txt
 
 if OS_WIN32
 libgncmod_app_utils_la_SOURCES += gnc-help-utils.c
diff --git a/src/app-utils/test/Makefile.am b/src/app-utils/test/Makefile.am
index 9304048..6fb6a95 100644
--- a/src/app-utils/test/Makefile.am
+++ b/src/app-utils/test/Makefile.am
@@ -53,7 +53,8 @@ check_PROGRAMS = \
   test-sx
 
 EXTRA_DIST = \
-  test-load-module
+  test-load-module \
+  CMakeLists.txt
 
 AM_CPPFLAGS = \
   -I${top_srcdir}/src \
diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index 6ac60ba..e30757a 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -3,3 +3,4 @@ if WITH_DBI
 endif
 SUBDIRS = xml sql ${DBI_DIR}
 
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/dbi/Makefile.am b/src/backend/dbi/Makefile.am
index 2a95ef4..62fffbb 100644
--- a/src/backend/dbi/Makefile.am
+++ b/src/backend/dbi/Makefile.am
@@ -35,3 +35,5 @@ libgncmod_backend_dbi_la_LIBADD = \
    ${LIBDBI_LIBS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.dbi\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/dbi/test/Makefile.am b/src/backend/dbi/test/Makefile.am
index 58aeb20..9ae3c58 100644
--- a/src/backend/dbi/test/Makefile.am
+++ b/src/backend/dbi/test/Makefile.am
@@ -45,7 +45,8 @@ TESTS_ENVIRONMENT = \
 EXTRA_DIST += \
     test-dbi-stuff.h \
     test-dbi-business-stuff.h \
-    test-dbi.xml
+    test-dbi.xml \
+    CMakeLists.txt
 
 TEST_PROGS += \
     test-backend-dbi
diff --git a/src/backend/sql/Makefile.am b/src/backend/sql/Makefile.am
index d656030..8916086 100644
--- a/src/backend/sql/Makefile.am
+++ b/src/backend/sql/Makefile.am
@@ -76,3 +76,5 @@ libgnc_backend_sql_la_LIBADD = \
    ${top_builddir}/src/libqof/qof/libgnc-qof.la
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.sql\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/sql/test/Makefile.am b/src/backend/sql/test/Makefile.am
index c914a41..7f05d21 100644
--- a/src/backend/sql/test/Makefile.am
+++ b/src/backend/sql/test/Makefile.am
@@ -78,3 +78,5 @@ test_sqlbe_CFLAGS = \
 	-I$(top_srcdir)/src/libqof/qof/ \
 	-I$(top_srcdir)/src/test-core/ \
 	$(GLIB_CFLAGS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/xml/Makefile.am b/src/backend/xml/Makefile.am
index 7709aa1..760f776 100644
--- a/src/backend/xml/Makefile.am
+++ b/src/backend/xml/Makefile.am
@@ -102,3 +102,5 @@ libgncmod_backend_xml_la_LIBADD = \
    ${top_builddir}/src/libqof/qof/libgnc-qof.la
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.xml\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/xml/test/Makefile.am b/src/backend/xml/test/Makefile.am
index d399353..0fee06b 100644
--- a/src/backend/xml/test/Makefile.am
+++ b/src/backend/xml/test/Makefile.am
@@ -272,6 +272,7 @@ EXTRA_DIST = \
   grab-types.pl \
   test-dom-parser1.c \
   test-real-data.sh \
-  test-xml2-is-file.c
+  test-xml2-is-file.c \
+  CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.xml\"
diff --git a/src/backend/xml/test/test-files/Makefile.am b/src/backend/xml/test/test-files/Makefile.am
index 4e53d89..08b8e6b 100644
--- a/src/backend/xml/test/test-files/Makefile.am
+++ b/src/backend/xml/test/test-files/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = xml2
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/backend/xml/test/test-files/xml2/Makefile.am b/src/backend/xml/test/test-files/xml2/Makefile.am
index 30ae50f..5ded68e 100644
--- a/src/backend/xml/test/test-files/xml2/Makefile.am
+++ b/src/backend/xml/test/test-files/xml2/Makefile.am
@@ -14,7 +14,9 @@ ACCT_TST_FILES = \
 	ms-money.gml2 \
 	pricedb1.gml2 
 
-EXTRA_DIST = $(ACCT_TST_FILES)
+EXTRA_DIST = \
+	$(ACCT_TST_FILES) \
+	CMakeLists.txt
 
 check:
 	for file in $(ACCT_TST_FILES); do			\
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index db2ecef..d042524 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -137,8 +137,9 @@ CLEANFILES += ${gnc_common_scripts}
 endif
 
 EXTRA_DIST = \
-    generate-gnc-script \
+	generate-gnc-script \
 	gnucash-valgrind.in \
-	environment.in
+	environment.in \
+	CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.bin\"
diff --git a/src/bin/overrides/Makefile.am b/src/bin/overrides/Makefile.am
index 74fb50a..29bbe10 100644
--- a/src/bin/overrides/Makefile.am
+++ b/src/bin/overrides/Makefile.am
@@ -8,7 +8,8 @@ EXTRA_DIST = \
   gnucash-env.in \
   gnucash-build-env.in \
   gnucash-make-guids \
-  guile.in 
+  guile.in \
+  CMakeLists.txt
 
 noinst_DATA = gnucash-build-env guile
 
diff --git a/src/bin/test/Makefile.am b/src/bin/test/Makefile.am
index 869b776..b8d3ad4 100644
--- a/src/bin/test/Makefile.am
+++ b/src/bin/test/Makefile.am
@@ -4,4 +4,6 @@ TESTS = test-version
 TESTS_ENVIRONMENT = \
 	PATH="..:${PATH}"
 
-EXTRA_DIST = test-version
+EXTRA_DIST = \
+	test-version \
+	CMakeLists.txt
diff --git a/src/business/Makefile.am b/src/business/Makefile.am
index f630609..4a62eea 100644
--- a/src/business/Makefile.am
+++ b/src/business/Makefile.am
@@ -1,3 +1,5 @@
 SUBDIRS = \
   business-ledger \
   business-gnome
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/business/business-gnome/Makefile.am b/src/business/business-gnome/Makefile.am
index a9d87bb..06007ad 100644
--- a/src/business/business-gnome/Makefile.am
+++ b/src/business/business-gnome/Makefile.am
@@ -87,7 +87,8 @@ gncscmmoddir = ${GNC_SCM_INSTALL_DIR}/gnucash
 gncscmmod_DATA = business-gnome.scm
 
 EXTRA_DIST = \
-  ${gncscmmod_DATA}
+  ${gncscmmod_DATA} \
+  CMakeLists.txt
 
 if GNUCASH_SEPARATE_BUILDDIR
 #Only needed when srcdir and builddir are different
diff --git a/src/business/business-gnome/gschemas/Makefile.am b/src/business/business-gnome/gschemas/Makefile.am
index 5ee85d1..83eeea4 100644
--- a/src/business/business-gnome/gschemas/Makefile.am
+++ b/src/business/business-gnome/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/business/business-gnome/gtkbuilder/Makefile.am b/src/business/business-gnome/gtkbuilder/Makefile.am
index 71fd13c..9c3e52b 100644
--- a/src/business/business-gnome/gtkbuilder/Makefile.am
+++ b/src/business/business-gnome/gtkbuilder/Makefile.am
@@ -14,4 +14,5 @@ gtkbuilder_DATA = \
   dialog-vendor.glade
 
 EXTRA_DIST = \
-  ${gtkbuilder_DATA}
+  ${gtkbuilder_DATA} \
+  CMakeLists.txt
diff --git a/src/business/business-gnome/ui/Makefile.am b/src/business/business-gnome/ui/Makefile.am
index 460a3f4..67923df 100644
--- a/src/business/business-gnome/ui/Makefile.am
+++ b/src/business/business-gnome/ui/Makefile.am
@@ -4,4 +4,4 @@ ui_DATA = \
 	gnc-plugin-page-invoice-ui.xml \
 	gnc-plugin-page-owner-tree-ui.xml
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/business/business-ledger/Makefile.am b/src/business/business-ledger/Makefile.am
index 6107c8e..77bac56 100644
--- a/src/business/business-ledger/Makefile.am
+++ b/src/business/business-ledger/Makefile.am
@@ -42,3 +42,5 @@ AM_CPPFLAGS = \
   ${GLIB_CFLAGS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.business.ledger\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/core-utils/Makefile.am b/src/core-utils/Makefile.am
index e207dff..514eb9d 100644
--- a/src/core-utils/Makefile.am
+++ b/src/core-utils/Makefile.am
@@ -130,7 +130,13 @@ endif
 
 noinst_DATA = .scm-links
 BUILT_SOURCES = gncla-dir.h gnc-version.h
-EXTRA_DIST = $(gncscmmod_DATA) core-utils.i gncla-dir.h.in gnc-vcs-info.h
+EXTRA_DIST = \
+  $(gncscmmod_DATA) \
+  core-utils.i \
+  gncla-dir.h.in \
+  gnc-vcs-info.h \
+  CMakeLists.txt
+
 clean-local:
 	rm -rf gnucash
 
diff --git a/src/core-utils/test/Makefile.am b/src/core-utils/test/Makefile.am
index c03d3b8..1c78d34 100644
--- a/src/core-utils/test/Makefile.am
+++ b/src/core-utils/test/Makefile.am
@@ -49,7 +49,8 @@ test_gnc_glib_utils_CFLAGS = \
         -I${top_srcdir}/${MODULEPATH} \
         ${GLIB_CFLAGS}
 
-EXTRA_DIST +=
+EXTRA_DIST += \
+	CMakeLists.txt
 
 clean-local:
 	rm -f translog.*
diff --git a/src/debug/Makefile.am b/src/debug/Makefile.am
index c5aa9de..a799a3a 100644
--- a/src/debug/Makefile.am
+++ b/src/debug/Makefile.am
@@ -1,3 +1,4 @@
-
 SUBDIRS = \
   valgrind
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/debug/valgrind/Makefile.am b/src/debug/valgrind/Makefile.am
index e9a4d2f..a7e7cdb 100644
--- a/src/debug/valgrind/Makefile.am
+++ b/src/debug/valgrind/Makefile.am
@@ -6,4 +6,5 @@ EXTRA_DIST = \
   valgrind-libfontconfig.supp \
   valgrind-libgda.supp \
   valgrind-libguile.supp \
-  valgrind-x11.supp
+  valgrind-x11.supp \
+  CMakeLists.txt
diff --git a/src/doc/Makefile.am b/src/doc/Makefile.am
index b413f3c..4c6124d 100644
--- a/src/doc/Makefile.am
+++ b/src/doc/Makefile.am
@@ -25,7 +25,8 @@ EXTRA_DIST = \
   qif.txt \
   tax.txt \
   user-prefs-howto.txt \
-  python-bindings-doxygen.py
+  python-bindings-doxygen.py \
+  CMakeLists.txt
 
 
 all:
diff --git a/src/doc/design/Makefile.am b/src/doc/design/Makefile.am
index a938d6f..401fccb 100644
--- a/src/doc/design/Makefile.am
+++ b/src/doc/design/Makefile.am
@@ -17,3 +17,5 @@ gnucash_design_TEXINFOS = \
 # have a version skew between automake and texinfo.
 DISTCLEANFILES = gnucash-design.cps gnucash-design.fns gnucash-design.tps
 MAINTAINERCLEANFILES = gnucash-design.info gnucash-design.info-[0-9]*
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/doc/xml/Makefile.am b/src/doc/xml/Makefile.am
index cbc4b1d..25205e2 100644
--- a/src/doc/xml/Makefile.am
+++ b/src/doc/xml/Makefile.am
@@ -9,4 +9,5 @@ EXTRA_DIST = \
   preferences-v1.dtd \
   prices-v1.dtd \
   transactions-v2.dtd \
-  types.dtd
+  types.dtd \
+  CMakeLists.txt
diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am
index ff767c3..d81b23b 100644
--- a/src/engine/Makefile.am
+++ b/src/engine/Makefile.am
@@ -164,7 +164,8 @@ EXTRA_DIST = \
   engine-common.i \
   business-core.i \
   ${gncscmmod_DATA} \
-  ${gncscm_DATA}
+  ${gncscm_DATA} \
+  CMakeLists.txt
 
 if GNUCASH_SEPARATE_BUILDDIR
 #For executing test cases
diff --git a/src/engine/test-core/Makefile.am b/src/engine/test-core/Makefile.am
index 76618e7..19526f8 100644
--- a/src/engine/test-core/Makefile.am
+++ b/src/engine/test-core/Makefile.am
@@ -24,3 +24,5 @@ AM_CPPFLAGS = \
   -I${top_srcdir}/src/libqof/qof \
   ${GLIB_CFLAGS} \
   ${GUILE_CFLAGS}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/engine/test/Makefile.am b/src/engine/test/Makefile.am
index 46f5734..6c0ff5f 100644
--- a/src/engine/test/Makefile.am
+++ b/src/engine/test/Makefile.am
@@ -131,7 +131,8 @@ EXTRA_DIST += \
   test-scm-query-import \
   test-scm-query-import.scm \
   $(SCM_TEST_HELPERS) \
-  $(SCM_TEST_SRCS)
+  $(SCM_TEST_SRCS) \
+  CMakeLists.txt
 
 TEST_PROGS += test-engine
 
diff --git a/src/gnc-module/Makefile.am b/src/gnc-module/Makefile.am
index 8de3f7b..2a413f6 100644
--- a/src/gnc-module/Makefile.am
+++ b/src/gnc-module/Makefile.am
@@ -44,7 +44,8 @@ endif
 
 EXTRA_DIST = \
   ${gncscmmod_DATA} \
-  gnc-module.i
+  gnc-module.i \
+  CMakeLists.txt
 
 if GNUCASH_SEPARATE_BUILDDIR
 #For executing test cases
diff --git a/src/gnc-module/test/Makefile.am b/src/gnc-module/test/Makefile.am
index 843a5d8..53edbff 100644
--- a/src/gnc-module/test/Makefile.am
+++ b/src/gnc-module/test/Makefile.am
@@ -67,7 +67,8 @@ EXTRA_DIST = \
   test-scm-dynload \
   test-scm-init \
   test-scm-module \
-  test-scm-multi
+  test-scm-multi \
+  CMakeLists.txt
 
 foo:
 	${TESTS_ENVIRONMENT} strace -f -o xxx ./test-load-c
diff --git a/src/gnc-module/test/misc-mods/Makefile.am b/src/gnc-module/test/misc-mods/Makefile.am
index 29c457c..0fc3312 100644
--- a/src/gnc-module/test/misc-mods/Makefile.am
+++ b/src/gnc-module/test/misc-mods/Makefile.am
@@ -26,3 +26,5 @@ libgncmod_agedver_la_LIBADD = \
   $(GLIB_LIBS)
 
 CLEANFILES = *.so* *.a
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/gnc-module/test/mod-bar/Makefile.am b/src/gnc-module/test/mod-bar/Makefile.am
index fc626dd..d0e38f3 100644
--- a/src/gnc-module/test/mod-bar/Makefile.am
+++ b/src/gnc-module/test/mod-bar/Makefile.am
@@ -36,7 +36,8 @@ endif
 
 EXTRA_DIST = \
   bar.i \
-  gnucash/bar.scm
+  gnucash/bar.scm \
+  CMakeLists.txt
 
 BUILT_SOURCES = swig-bar.c
 MAINTAINERCLEANFILES = swig-bar.c
diff --git a/src/gnc-module/test/mod-baz/Makefile.am b/src/gnc-module/test/mod-baz/Makefile.am
index 98474d5..853ec3e 100644
--- a/src/gnc-module/test/mod-baz/Makefile.am
+++ b/src/gnc-module/test/mod-baz/Makefile.am
@@ -40,7 +40,8 @@ endif
 
 EXTRA_DIST = \
   baz.i \
-  gnucash/baz.scm
+  gnucash/baz.scm \
+  CMakeLists.txt
 
 BUILT_SOURCES = swig-baz.c
 MAINTAINERCLEANFILES = swig-baz.c
diff --git a/src/gnc-module/test/mod-foo/Makefile.am b/src/gnc-module/test/mod-foo/Makefile.am
index ee7862c..401eb21 100644
--- a/src/gnc-module/test/mod-foo/Makefile.am
+++ b/src/gnc-module/test/mod-foo/Makefile.am
@@ -25,7 +25,8 @@ libgncmodfoo_la_LIBADD = \
 
 EXTRA_DIST = \
   foo.i \
-  gnucash/foo.scm
+  gnucash/foo.scm \
+  CMakeLists.txt
 
 if BUILDING_FROM_VCS
 swig-foo.c: foo.i
diff --git a/src/gnome-search/Makefile.am b/src/gnome-search/Makefile.am
index c3aa4d3..79e4bbc 100644
--- a/src/gnome-search/Makefile.am
+++ b/src/gnome-search/Makefile.am
@@ -61,6 +61,7 @@ gtkbuilder_DATA = \
   dialog-search.glade
 
 EXTRA_DIST = \
-  ${gtkbuilder_DATA}
+  ${gtkbuilder_DATA} \
+  CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.gui.search\"
diff --git a/src/gnome-utils/Makefile.am b/src/gnome-utils/Makefile.am
index 8593462..2b02158 100644
--- a/src/gnome-utils/Makefile.am
+++ b/src/gnome-utils/Makefile.am
@@ -248,7 +248,8 @@ EXTRA_DIST = \
   make-gnc-warnings-c.xsl \
   make-gnc-warnings-h.xsl \
   ${gncscmmod_DATA} \
-  ${gncscm_DATA}
+  ${gncscm_DATA} \
+  CMakeLists.txt
 
 
 if GNUCASH_SEPARATE_BUILDDIR
diff --git a/src/gnome-utils/gschemas/Makefile.am b/src/gnome-utils/gschemas/Makefile.am
index 9be9da3..58bb872 100644
--- a/src/gnome-utils/gschemas/Makefile.am
+++ b/src/gnome-utils/gschemas/Makefile.am
@@ -9,3 +9,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/gnome-utils/gtkbuilder/Makefile.am b/src/gnome-utils/gtkbuilder/Makefile.am
index a821162..ee97918 100644
--- a/src/gnome-utils/gtkbuilder/Makefile.am
+++ b/src/gnome-utils/gtkbuilder/Makefile.am
@@ -19,4 +19,4 @@ gtkbuilder_DATA = \
   gnc-recurrence.glade \
   gnc-tree-view-owner.glade 
 
-EXTRA_DIST = $(gtkbuilder_DATA)
+EXTRA_DIST = $(gtkbuilder_DATA) CMakeLists.txt
diff --git a/src/gnome-utils/test/Makefile.am b/src/gnome-utils/test/Makefile.am
index 02ea939..34c0856 100644
--- a/src/gnome-utils/test/Makefile.am
+++ b/src/gnome-utils/test/Makefile.am
@@ -70,7 +70,8 @@ test_link_module_LDADD = \
   ${top_builddir}/src/gnc-module/libgnc-module.la
 
 EXTRA_DIST = \
-  test-load-module
+  test-load-module \
+  CMakeLists.txt
 
 testit:
 	libtool --mode execute gdb test-link-module
diff --git a/src/gnome-utils/ui/Makefile.am b/src/gnome-utils/ui/Makefile.am
index 446dca2..3f82751 100644
--- a/src/gnome-utils/ui/Makefile.am
+++ b/src/gnome-utils/ui/Makefile.am
@@ -5,4 +5,4 @@ ui_DATA = \
 	gnc-windows-menu-ui-quartz.xml \
 	osx_accel_map
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/gnome/Makefile.am b/src/gnome/Makefile.am
index 2420228..01bbe42 100644
--- a/src/gnome/Makefile.am
+++ b/src/gnome/Makefile.am
@@ -126,7 +126,8 @@ endif
 EXTRA_DIST = \
   gnome.i \
   $(gnomeapp_in_files) \
-  $(appdata_in_files)
+  $(appdata_in_files) \
+  CMakeLists.txt
 
 AM_CPPFLAGS = \
   -I${top_srcdir}/src \
diff --git a/src/gnome/gschemas/Makefile.am b/src/gnome/gschemas/Makefile.am
index 98b8c9b..6e5070a 100644
--- a/src/gnome/gschemas/Makefile.am
+++ b/src/gnome/gschemas/Makefile.am
@@ -16,3 +16,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/gnome/gtkbuilder/Makefile.am b/src/gnome/gtkbuilder/Makefile.am
index 2a2f9b8..04a8b9f 100644
--- a/src/gnome/gtkbuilder/Makefile.am
+++ b/src/gnome/gtkbuilder/Makefile.am
@@ -19,4 +19,4 @@ gtkbuilder_DATA = \
 	window-autoclear.glade \
 	window-reconcile.glade
 
-EXTRA_DIST = $(gtkbuilder_DATA)
+EXTRA_DIST = $(gtkbuilder_DATA) CMakeLists.txt
diff --git a/src/gnome/ui/Makefile.am b/src/gnome/ui/Makefile.am
index 26cce4c..b599a3e 100644
--- a/src/gnome/ui/Makefile.am
+++ b/src/gnome/ui/Makefile.am
@@ -20,4 +20,4 @@ ui_DATA = \
 	gnc-sxed-window-ui.xml \
 	gnc-sxed-window-ui-full.xml
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/html/Makefile.am b/src/html/Makefile.am
index 82bd628..16fe948 100644
--- a/src/html/Makefile.am
+++ b/src/html/Makefile.am
@@ -69,7 +69,8 @@ endif
 endif
 
 EXTRA_DIST = \
-  gnc-html.i
+  gnc-html.i \
+  CMakeLists.txt
 
 CLEANFILES = $(BUILT_SOURCES) gnucash
 MAINTAINERCLEANFILES = swig-gnc-html.c
diff --git a/src/import-export/Makefile.am b/src/import-export/Makefile.am
index 14d58f2..4df8e1f 100644
--- a/src/import-export/Makefile.am
+++ b/src/import-export/Makefile.am
@@ -68,6 +68,7 @@ AM_CPPFLAGS = \
 
 EXTRA_DIST = \
   $(gtkbuilder_DATA) \
-  generic-import-design.txt
+  generic-import-design.txt \
+  CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.i-e\"
diff --git a/src/import-export/aqb/Makefile.am b/src/import-export/aqb/Makefile.am
index ee169c4..09bbd5e 100644
--- a/src/import-export/aqb/Makefile.am
+++ b/src/import-export/aqb/Makefile.am
@@ -75,6 +75,10 @@ gtkbuilder_DATA = \
   assistant-ab-initial.glade \
   dialog-ab.glade
 
-EXTRA_DIST = ${ui_DATA} ${gtkbuilder_DATA} migratable-prefs-aqbanking.xml
+EXTRA_DIST = \
+    ${ui_DATA} \
+    ${gtkbuilder_DATA} \
+    migratable-prefs-aqbanking.xml \
+    CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.import.aqbanking\"
diff --git a/src/import-export/aqb/gschemas/Makefile.am b/src/import-export/aqb/gschemas/Makefile.am
index 4f331f9..58eaea9 100644
--- a/src/import-export/aqb/gschemas/Makefile.am
+++ b/src/import-export/aqb/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/csv-exp/Makefile.am b/src/import-export/csv-exp/Makefile.am
index 2e8f1a7..1be1a02 100644
--- a/src/import-export/csv-exp/Makefile.am
+++ b/src/import-export/csv-exp/Makefile.am
@@ -54,6 +54,6 @@ gtkbuilderdir = ${GNC_GTKBUILDER_DIR}
 gtkbuilder_DATA = \
 	assistant-csv-export.glade
 
-EXTRA_DIST = $(ui_DATA) $(gtkbuilder_DATA)
+EXTRA_DIST = $(ui_DATA) $(gtkbuilder_DATA) CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.export.csv\"
diff --git a/src/import-export/csv-exp/gschemas/Makefile.am b/src/import-export/csv-exp/gschemas/Makefile.am
index bc143a1..87fcf86 100644
--- a/src/import-export/csv-exp/gschemas/Makefile.am
+++ b/src/import-export/csv-exp/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/csv-imp/Makefile.am b/src/import-export/csv-imp/Makefile.am
index 0acf1b5..831bbe6 100644
--- a/src/import-export/csv-imp/Makefile.am
+++ b/src/import-export/csv-imp/Makefile.am
@@ -59,6 +59,6 @@ gtkbuilder_DATA = \
 	assistant-csv-account-import.glade \
 	assistant-csv-trans-import.glade
 
-EXTRA_DIST = $(ui_DATA) $(gtkbuilder_DATA)
+EXTRA_DIST = $(ui_DATA) $(gtkbuilder_DATA) CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.import.csv\"
diff --git a/src/import-export/csv-imp/gschemas/Makefile.am b/src/import-export/csv-imp/gschemas/Makefile.am
index a68a1f4..014a3e3 100644
--- a/src/import-export/csv-imp/gschemas/Makefile.am
+++ b/src/import-export/csv-imp/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/csv-imp/test/Makefile.am b/src/import-export/csv-imp/test/Makefile.am
index 1a09dd7..927a23c 100644
--- a/src/import-export/csv-imp/test/Makefile.am
+++ b/src/import-export/csv-imp/test/Makefile.am
@@ -92,7 +92,8 @@ TESTS_ENVIRONMENT = \
   $(shell ${abs_top_srcdir}/src/gnc-test-env.pl --noexports ${GNC_TEST_DEPS})
 
 EXTRA_DIST += \
-  sample1.csv
+  sample1.csv \
+  CMakeLists.txt
 
 
 AM_CPPFLAGS = -DG_LOG_DOMAIN=\"gnc.import.csv\"
diff --git a/src/import-export/gschemas/Makefile.am b/src/import-export/gschemas/Makefile.am
index fbe0f51..f207d63 100644
--- a/src/import-export/gschemas/Makefile.am
+++ b/src/import-export/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/log-replay/Makefile.am b/src/import-export/log-replay/Makefile.am
index 2a6b213..0be39fc 100644
--- a/src/import-export/log-replay/Makefile.am
+++ b/src/import-export/log-replay/Makefile.am
@@ -42,3 +42,5 @@ dist_ui_DATA = \
 	gnc-plugin-log-replay-ui.xml
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.import.log-replay\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/ofx/Makefile.am b/src/import-export/ofx/Makefile.am
index eeb7707..59fad5c 100644
--- a/src/import-export/ofx/Makefile.am
+++ b/src/import-export/ofx/Makefile.am
@@ -44,6 +44,6 @@ uidir = $(GNC_UI_DIR)
 ui_DATA = \
 	gnc-plugin-ofx-ui.xml
 
-EXTRA_DIST = $(ui_DATA) migratable-prefs-ofx.xml
+EXTRA_DIST = $(ui_DATA) migratable-prefs-ofx.xml CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.import.ofx\"
diff --git a/src/import-export/ofx/gschemas/Makefile.am b/src/import-export/ofx/gschemas/Makefile.am
index b2dc93d..30ad610 100644
--- a/src/import-export/ofx/gschemas/Makefile.am
+++ b/src/import-export/ofx/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/ofx/test/Makefile.am b/src/import-export/ofx/test/Makefile.am
index 00d0a3c..54cc321 100644
--- a/src/import-export/ofx/test/Makefile.am
+++ b/src/import-export/ofx/test/Makefile.am
@@ -9,3 +9,5 @@ test_link_LDADD=\
         $(top_builddir)/src/app-utils/libgncmod-app-utils.la \
 	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
     ../libgncmod-ofx.la 
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/qif-imp/Makefile.am b/src/import-export/qif-imp/Makefile.am
index 7df0d04..790b39d 100644
--- a/src/import-export/qif-imp/Makefile.am
+++ b/src/import-export/qif-imp/Makefile.am
@@ -72,7 +72,8 @@ EXTRA_DIST = \
   ${gncscm_DATA} \
   ${gtkbuilder_DATA} \
   file-format.txt \
-  $(ui_DATA)
+  $(ui_DATA) \
+  CMakeLists.txt
 
 CLEANFILES =
 
diff --git a/src/import-export/qif-imp/gschemas/Makefile.am b/src/import-export/qif-imp/gschemas/Makefile.am
index b96da51..8774693 100644
--- a/src/import-export/qif-imp/gschemas/Makefile.am
+++ b/src/import-export/qif-imp/gschemas/Makefile.am
@@ -8,3 +8,5 @@ gsettings_SCHEMAS = $(gschema_in_files:.gschema.xml.in=.gschema.xml)
 @GSETTINGS_RULES@
 
 CLEANFILES = $(gsettings_SCHEMAS)
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/qif-imp/test/Makefile.am b/src/import-export/qif-imp/test/Makefile.am
index 35dfc89..38db806 100644
--- a/src/import-export/qif-imp/test/Makefile.am
+++ b/src/import-export/qif-imp/test/Makefile.am
@@ -15,3 +15,4 @@ test_link_LDADD=../libgncmod-qif-import.la \
   ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
   ${LIBXML2_LIBS}
 
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/qif/Makefile.am b/src/import-export/qif/Makefile.am
index bf3e024..cff9cde 100644
--- a/src/import-export/qif/Makefile.am
+++ b/src/import-export/qif/Makefile.am
@@ -37,3 +37,5 @@ AM_CPPFLAGS = \
   ${GUILE_CFLAGS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.import.qif\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/import-export/qif/test/Makefile.am b/src/import-export/qif/test/Makefile.am
index 13bdda2..7110425 100644
--- a/src/import-export/qif/test/Makefile.am
+++ b/src/import-export/qif/test/Makefile.am
@@ -48,4 +48,4 @@ check_PROGRAMS = \
   test-qif
 
 EXTRA_DIST = \
-  test-files/test-1-bank-txn.qif
+  test-files/test-1-bank-txn.qif CMakeLists.txt
diff --git a/src/import-export/test/Makefile.am b/src/import-export/test/Makefile.am
index 024b3a2..c13081d 100644
--- a/src/import-export/test/Makefile.am
+++ b/src/import-export/test/Makefile.am
@@ -78,3 +78,5 @@ clean-local:
 	rm -f translog.*
 
 distclean-local: clean-local
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/libqof/Makefile.am b/src/libqof/Makefile.am
index 954cb50..3a35153 100644
--- a/src/libqof/Makefile.am
+++ b/src/libqof/Makefile.am
@@ -1,2 +1,3 @@
 SUBDIRS = . qof
 
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/libqof/qof/Makefile.am b/src/libqof/qof/Makefile.am
index 3af62aa..ba34a7e 100644
--- a/src/libqof/qof/Makefile.am
+++ b/src/libqof/qof/Makefile.am
@@ -89,7 +89,8 @@ libmd5_la_CFLAGS=-fno-strict-aliasing
 libgnc_qof_la_LIBADD += libmd5.la
 
 EXTRA_DIST += \
-  qofmath128.c
+  qofmath128.c \
+  CMakeLists.txt
 
 if OS_WIN32
 libgnc_qof_la_SOURCES += qof-win32.c
diff --git a/src/libqof/qof/test/Makefile.am b/src/libqof/qof/test/Makefile.am
index 27ee9f3..e345103 100644
--- a/src/libqof/qof/test/Makefile.am
+++ b/src/libqof/qof/test/Makefile.am
@@ -45,3 +45,5 @@ test_qof_CFLAGS = \
 	-DTESTPROG=test_qof \
 	-I$(top_srcdir)/lib/libc \
 	${GLIB_CFLAGS}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/optional/Makefile.am b/src/optional/Makefile.am
index d1a92e5..14cda7a 100644
--- a/src/optional/Makefile.am
+++ b/src/optional/Makefile.am
@@ -5,3 +5,5 @@ if WITH_GTKMM
     GTKMM_DIR=gtkmm
 endif
 SUBDIRS = ${PYTHON_BINDINGS_DIR} ${GTKMM_DIR}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/optional/gtkmm/Makefile.am b/src/optional/gtkmm/Makefile.am
index c0d7787..f0757a3 100644
--- a/src/optional/gtkmm/Makefile.am
+++ b/src/optional/gtkmm/Makefile.am
@@ -59,6 +59,6 @@ ui_DATA = gnc-plugin-gtkmm-ui.xml
 gtkbuilderdir = $(GNC_GTKBUILDER_DIR)
 gtkbuilder_DATA =
 
-EXTRA_DIST = ${ui_DATA} ${gtkbuilder_DATA}
+EXTRA_DIST = ${ui_DATA} ${gtkbuilder_DATA} CMakeLists.txt
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.gui.gtkmm\"
diff --git a/src/optional/gtkmm/test/Makefile.am b/src/optional/gtkmm/test/Makefile.am
index 7ad1ea4..6e74794 100644
--- a/src/optional/gtkmm/test/Makefile.am
+++ b/src/optional/gtkmm/test/Makefile.am
@@ -46,3 +46,5 @@ AM_CPPFLAGS = \
   -I${top_srcdir}/src/optional/gtkmm \
   ${GTKMM_CFLAGS} \
   ${GLIB_CFLAGS}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/optional/python-bindings/Makefile.am b/src/optional/python-bindings/Makefile.am
index e9364fe..7f9bf9c 100644
--- a/src/optional/python-bindings/Makefile.am
+++ b/src/optional/python-bindings/Makefile.am
@@ -97,7 +97,9 @@ EXTRA_DIST = \
   example_scripts/test_imbalance_transaction.py \
   example_scripts/rest-api/gnucash_rest.py \
   example_scripts/rest-api/gnucash_simple.py \
-  example_scripts/rest-api/README
+  example_scripts/rest-api/README \
+  example_scripts/CMakeLists.txt \
+  CMakeLists.txt
 
 MAINTAINERCLEANFILES = gnucash_core.c
 
diff --git a/src/optional/python-bindings/tests/Makefile.am b/src/optional/python-bindings/tests/Makefile.am
index 13a23f4..8a0d3f6 100644
--- a/src/optional/python-bindings/tests/Makefile.am
+++ b/src/optional/python-bindings/tests/Makefile.am
@@ -50,4 +50,5 @@ EXTRA_DIST = \
   test_book.py \
   test_split.py \
   test_transaction.py \
-  test_business.py
+  test_business.py \
+  CMakeLists.txt
diff --git a/src/pixmaps/Makefile.am b/src/pixmaps/Makefile.am
index eea54e7..4d97df4 100644
--- a/src/pixmaps/Makefile.am
+++ b/src/pixmaps/Makefile.am
@@ -160,7 +160,8 @@ EXTRA_DIST = \
   ${gncpixmap_DATA} \
   ${ico_files_hr} \
   ${ico_files_lr} \
-  ${gncscalableicon_DATA}
+  ${gncscalableicon_DATA} \
+  CMakeLists.txt
 
 # Only clean up if we're building from svn/svk/git/bzr
 if BUILDING_FROM_VCS
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index aa11dfe..ad3351e 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -1,9 +1,13 @@
 SUBDIRS=customer_import bi_import
 EXTRA_DIST = \
+	example/CMakeLists.txt \
 	example/Makefile.am \
 	example/gnc-plugin.example.c \
 	example/gnc-plugin.example.h \
 	example/gncmod-example.c \
+	example/glade/CMakeLists.txt \
 	example/glade/Makefile.am \
+	example/ui/CMakeLists.txt \
 	example/ui/Makefile.am \
-	example/ui/gnc-plugin-example-ui.xml
+	example/ui/gnc-plugin-example-ui.xml \
+	CMakeLists.txt
diff --git a/src/plugins/bi_import/Makefile.am b/src/plugins/bi_import/Makefile.am
index 1506a55..bf40004 100644
--- a/src/plugins/bi_import/Makefile.am
+++ b/src/plugins/bi_import/Makefile.am
@@ -52,3 +52,5 @@ AM_CPPFLAGS = \
   ${GLIB_CFLAGS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.plugin.bi-import\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/plugins/bi_import/gtkbuilder/Makefile.am b/src/plugins/bi_import/gtkbuilder/Makefile.am
index 43365a8..e9b70f7 100644
--- a/src/plugins/bi_import/gtkbuilder/Makefile.am
+++ b/src/plugins/bi_import/gtkbuilder/Makefile.am
@@ -1,4 +1,4 @@
 gtkbuilderdir = $(GNC_GTKBUILDER_DIR)
 gtkbuilder_DATA = dialog-bi-import-gui.glade
 
-EXTRA_DIST = ${gtkbuilder_DATA}
+EXTRA_DIST = ${gtkbuilder_DATA} CMakeLists.txt
diff --git a/src/plugins/bi_import/ui/Makefile.am b/src/plugins/bi_import/ui/Makefile.am
index 6368fb5..8545219 100644
--- a/src/plugins/bi_import/ui/Makefile.am
+++ b/src/plugins/bi_import/ui/Makefile.am
@@ -2,4 +2,4 @@ uidir = $(GNC_UI_DIR)
 ui_DATA = \
 	gnc-plugin-bi-import-ui.xml
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/plugins/customer_import/Makefile.am b/src/plugins/customer_import/Makefile.am
index 36735dc..5a3dbf8 100644
--- a/src/plugins/customer_import/Makefile.am
+++ b/src/plugins/customer_import/Makefile.am
@@ -50,3 +50,5 @@ AM_CPPFLAGS = \
   ${GLIB_CFLAGS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.plugin.customer_import\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/plugins/customer_import/gtkbuilder/Makefile.am b/src/plugins/customer_import/gtkbuilder/Makefile.am
index da877a3..93c4ba1 100644
--- a/src/plugins/customer_import/gtkbuilder/Makefile.am
+++ b/src/plugins/customer_import/gtkbuilder/Makefile.am
@@ -1,4 +1,4 @@
 gtkbuilderdir = $(GNC_GTKBUILDER_DIR)
 gtkbuilder_DATA = dialog-customer-import-gui.glade
 
-EXTRA_DIST = ${gtkbuilder_DATA}
+EXTRA_DIST = ${gtkbuilder_DATA} CMakeLists.txt
diff --git a/src/plugins/customer_import/ui/Makefile.am b/src/plugins/customer_import/ui/Makefile.am
index 3535d5a..25ebdff 100644
--- a/src/plugins/customer_import/ui/Makefile.am
+++ b/src/plugins/customer_import/ui/Makefile.am
@@ -2,4 +2,4 @@ uidir = $(GNC_UI_DIR)
 ui_DATA = \
 	gnc-plugin-customer_import-ui.xml
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/plugins/example/glade/Makefile.am b/src/plugins/example/glade/Makefile.am
index 4096c72..f6c5d6b 100644
--- a/src/plugins/example/glade/Makefile.am
+++ b/src/plugins/example/glade/Makefile.am
@@ -1,4 +1,4 @@
 gladedir = $(GNC_GLADE_DIR)
 glade_DATA = 
 
-EXTRA_DIST = ${glade_DATA}
+EXTRA_DIST = ${glade_DATA} CMakeLists.txt
diff --git a/src/plugins/example/ui/Makefile.am b/src/plugins/example/ui/Makefile.am
index 210eee8..f4d6c90 100644
--- a/src/plugins/example/ui/Makefile.am
+++ b/src/plugins/example/ui/Makefile.am
@@ -2,4 +2,4 @@ uidir = $(GNC_UI_DIR)
 ui_DATA = \
 	gnc-plugin-example-ui.xml
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) CMakeLists.txt
diff --git a/src/python/Makefile.am b/src/python/Makefile.am
index 17d5ac9..22b0184 100644
--- a/src/python/Makefile.am
+++ b/src/python/Makefile.am
@@ -54,7 +54,7 @@ clean-local:
 
 noinst_DATA = .py-links
 
-EXTRA_DIST = ${gncpymod_DATA}
+EXTRA_DIST = ${gncpymod_DATA} CMakeLists.txt
 
 CLEANFILES = .py-links
 DISTCLEANFILES = ${PY_FILE_LINKS}
diff --git a/src/python/pycons/Makefile.am b/src/python/pycons/Makefile.am
index 656e5b2..6572cfb 100644
--- a/src/python/pycons/Makefile.am
+++ b/src/python/pycons/Makefile.am
@@ -10,5 +10,5 @@ pycons_DATA = \
    shell.py \
    simple_plot.py
 
-EXTRA_DIST = ${pycons_DATA}
+   EXTRA_DIST = ${pycons_DATA} CMakeLists.txt
 
diff --git a/src/quotes/Makefile.am b/src/quotes/Makefile.am
index 0391d70..c26a4c1 100644
--- a/src/quotes/Makefile.am
+++ b/src/quotes/Makefile.am
@@ -6,7 +6,8 @@ EXTRA_DIST = \
   gnc-fq-dump \
   gnc-fq-helper.in \
   gnc-fq-update.in \
-  gnc-value-portfolio
+  gnc-value-portfolio \
+  CMakeLists.txt
 
 ## We borrow guile's convention and use @-...-@ as the substitution
 ## brackets here, instead of the usual @... at .  This prevents autoconf
diff --git a/src/register/Makefile.am b/src/register/Makefile.am
index de7a97d..5a7ecd3 100644
--- a/src/register/Makefile.am
+++ b/src/register/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS=register-core register-gnome ledger-core 
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/register/ledger-core/Makefile.am b/src/register/ledger-core/Makefile.am
index 432b9f9..1eb9578 100644
--- a/src/register/ledger-core/Makefile.am
+++ b/src/register/ledger-core/Makefile.am
@@ -57,3 +57,5 @@ AM_CPPFLAGS = \
 
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.register.ledger\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/register/ledger-core/test/Makefile.am b/src/register/ledger-core/test/Makefile.am
index 46b81a1..2029ee5 100644
--- a/src/register/ledger-core/test/Makefile.am
+++ b/src/register/ledger-core/test/Makefile.am
@@ -11,3 +11,5 @@ test_link_module_LDADD=\
     ../libgncmod-ledger-core.la
 
 AM_CPPFLAGS = -I${top_srcdir}/src/test-core -I.. ${GLIB_CFLAGS}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/register/register-core/Makefile.am b/src/register/register-core/Makefile.am
index 86c5d59..b5305e6 100644
--- a/src/register/register-core/Makefile.am
+++ b/src/register/register-core/Makefile.am
@@ -68,3 +68,5 @@ AM_CPPFLAGS = \
 CLEANFILES = $(BUILT_SOURCES)
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.register.core\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/register/register-core/test/Makefile.am b/src/register/register-core/test/Makefile.am
index fe485bc..bf223e9 100644
--- a/src/register/register-core/test/Makefile.am
+++ b/src/register/register-core/test/Makefile.am
@@ -19,6 +19,7 @@ test_link_module_LDADD=\
   ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
   ../libgncmod-register-core.la
 
-#EXTRA_DIST = test-load-module
+EXTRA_DIST = CMakeLists.txt
+#            test-load-module
 
 AM_CPPFLAGS = ${GLIB_CFLAGS} -I${top_srcdir}/src/test-core -I..
diff --git a/src/register/register-gnome/Makefile.am b/src/register/register-gnome/Makefile.am
index be74c1d..b15d47e 100644
--- a/src/register/register-gnome/Makefile.am
+++ b/src/register/register-gnome/Makefile.am
@@ -66,3 +66,5 @@ AM_CPPFLAGS = \
   ${GNOMECANVAS_CFLAGS}
 
 AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.register.gnome\"
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/register/register-gnome/test/Makefile.am b/src/register/register-gnome/test/Makefile.am
index b21e628..d615f02 100644
--- a/src/register/register-gnome/test/Makefile.am
+++ b/src/register/register-gnome/test/Makefile.am
@@ -19,6 +19,7 @@ test_link_module_LDADD = \
   ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
   ../libgncmod-register-gnome.la
 
-#EXTRA_DIST = test-load-module
+EXTRA_DIST = CMakeLists.txt
+#            test-load-module
 
 AM_CPPFLAGS = -I${top_srcdir}/src/test-core -I.. ${GLIB_CFLAGS}
diff --git a/src/report/Makefile.am b/src/report/Makefile.am
index 03b7355..bd41143 100644
--- a/src/report/Makefile.am
+++ b/src/report/Makefile.am
@@ -16,3 +16,4 @@ else
 SUBDIRS = $(NONGUI_SUBDIRS)
 endif
 
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/report/business-reports/Makefile.am b/src/report/business-reports/Makefile.am
index 4a87fe4..8365420 100644
--- a/src/report/business-reports/Makefile.am
+++ b/src/report/business-reports/Makefile.am
@@ -91,7 +91,8 @@ noinst_DATA = .scm-links
 
 EXTRA_DIST = \
   ${gncscmmod_DATA} \
-  ${gncscmtpl_DATA}
+  ${gncscmtpl_DATA} \
+  CMakeLists.txt
 
 CLEANFILES = .scm-links ${gncscmmodcache_DATA}
 DISTCLEANFILES = ${SCM_FILE_LINKS}
diff --git a/src/report/jqplot/Makefile.am b/src/report/jqplot/Makefile.am
index 584af39..610d5f1 100644
--- a/src/report/jqplot/Makefile.am
+++ b/src/report/jqplot/Makefile.am
@@ -32,5 +32,7 @@ gncjqplot_DATA = \
   plugins/jqplot.trendline.js
 
 # Also ship jquery.js since it is the source for jquery.min.js
-EXTRA_DIST = ${gncjqplot_DATA} \
-	jquery.js
+EXTRA_DIST = \
+	${gncjqplot_DATA} \
+	jquery.js \
+	CMakeLists.txt
diff --git a/src/report/locale-specific/Makefile.am b/src/report/locale-specific/Makefile.am
index da178ad..a40468e 100644
--- a/src/report/locale-specific/Makefile.am
+++ b/src/report/locale-specific/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = us
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/report/locale-specific/us/Makefile.am b/src/report/locale-specific/us/Makefile.am
index b8f3cb5..462c462 100644
--- a/src/report/locale-specific/us/Makefile.am
+++ b/src/report/locale-specific/us/Makefile.am
@@ -101,7 +101,8 @@ noinst_DATA = .scm-links
 
 EXTRA_DIST = \
   ${gncscmmod_DATA} \
-  ${gncscmrpt_DATA}
+  ${gncscmrpt_DATA} \
+  CMakeLists.txt
 
 CLEANFILES = \
 	.scm-links \
diff --git a/src/report/locale-specific/us/test/Makefile.am b/src/report/locale-specific/us/test/Makefile.am
index 712490e..03e33bb 100644
--- a/src/report/locale-specific/us/test/Makefile.am
+++ b/src/report/locale-specific/us/test/Makefile.am
@@ -26,3 +26,5 @@ testit:
 test_link_module_SOURCES = test-link-module.c
 test_link_module_LDADD= \
   ${top_builddir}/src/report/locale-specific/us/libgncmod-locale-reports-us.la
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/report/report-gnome/Makefile.am b/src/report/report-gnome/Makefile.am
index 2d0f6a0..9c2a163 100644
--- a/src/report/report-gnome/Makefile.am
+++ b/src/report/report-gnome/Makefile.am
@@ -81,7 +81,8 @@ EXTRA_DIST = \
   report-gnome.i \
   ${gtkbuilder_DATA} \
   ${gncscmmod_DATA} \
-  ${ui_DATA}
+  ${ui_DATA} \
+  CMakeLists.txt
 
 if GNUCASH_SEPARATE_BUILDDIR
 #Only needed when srcdir and builddir are different
diff --git a/src/report/report-gnome/test/Makefile.am b/src/report/report-gnome/test/Makefile.am
index 5c03452..54d4ccc 100644
--- a/src/report/report-gnome/test/Makefile.am
+++ b/src/report/report-gnome/test/Makefile.am
@@ -60,4 +60,4 @@ TESTS_ENVIRONMENT = \
 
 check_PROGRAMS = test-link-module
 
-EXTRA_DIST = test-load-module
+EXTRA_DIST = test-load-module CMakeLists.txt
diff --git a/src/report/report-system/Makefile.am b/src/report/report-system/Makefile.am
index 773a85b..07cd4ef 100644
--- a/src/report/report-system/Makefile.am
+++ b/src/report/report-system/Makefile.am
@@ -149,7 +149,12 @@ endif
 
 noinst_DATA = .scm-links
 
-EXTRA_DIST = report-system.i ${gncscmmod_DATA} ${gncscm_DATA} ${gncmodscm_DATA}
+EXTRA_DIST = \
+	report-system.i \
+	${gncscmmod_DATA} \
+	${gncscm_DATA} \
+	${gncmodscm_DATA} \
+	CMakeLists.txt
 
 clean-local:
 	rm -rf gnucash
diff --git a/src/report/report-system/test/Makefile.am b/src/report/report-system/test/Makefile.am
index e93c2c3..a62c741 100644
--- a/src/report/report-system/test/Makefile.am
+++ b/src/report/report-system/test/Makefile.am
@@ -77,7 +77,8 @@ SCM_TEST_HELPERS = test-extras.scm
 EXTRA_DIST = \
 	test-load-module \
 	$(SCM_TEST_HELPERS) \
-	$(SCM_TEST_SRCS)
+	$(SCM_TEST_SRCS) \
+	CMakeLists.txt
 
 testit:
 	$(TESTS_ENVIRONMENT) libtool --mode execute gdb test-link-module
diff --git a/src/report/standard-reports/Makefile.am b/src/report/standard-reports/Makefile.am
index e76474f..e9678ce 100644
--- a/src/report/standard-reports/Makefile.am
+++ b/src/report/standard-reports/Makefile.am
@@ -122,7 +122,8 @@ noinst_DATA = .scm-links
 
 EXTRA_DIST = \
 	${gncscmmod_DATA} \
-	${gncscmrpt_DATA}
+	${gncscmrpt_DATA} \
+	CMakeLists.txt
 
 CLEANFILES = \
 	.scm-links \
diff --git a/src/report/standard-reports/test/Makefile.am b/src/report/standard-reports/test/Makefile.am
index 3b2ca5c..547738a 100644
--- a/src/report/standard-reports/test/Makefile.am
+++ b/src/report/standard-reports/test/Makefile.am
@@ -66,7 +66,8 @@ SCM_TEST_HELPERS = \
 EXTRA_DIST = \
 	test-load-module \
 	$(SCM_TEST_HELPERS) \
-	$(SCM_TEST_SRCS)
+	$(SCM_TEST_SRCS) \
+	CMakeLists.txt
 
 .scm-links:
 	$(RM) -rf gnucash
diff --git a/src/report/stylesheets/Makefile.am b/src/report/stylesheets/Makefile.am
index eb92096..3dd639e 100644
--- a/src/report/stylesheets/Makefile.am
+++ b/src/report/stylesheets/Makefile.am
@@ -108,7 +108,7 @@ uidir = $(GNC_UI_DIR)
 dist_ui_DATA = \
 	gnc-plugin-stylesheets-ui.xml
 
-EXTRA_DIST = ${gncscmmod_DATA}
+EXTRA_DIST = ${gncscmmod_DATA} CMakeLists.txt
 
 CLEANFILES = .scm-links ${gncscmmodcache_DATA}
 DISTCLEANFILES = ${SCM_FILE_LINKS}
diff --git a/src/report/stylesheets/test/Makefile.am b/src/report/stylesheets/test/Makefile.am
index 3211592..a2f8e5d 100644
--- a/src/report/stylesheets/test/Makefile.am
+++ b/src/report/stylesheets/test/Makefile.am
@@ -36,4 +36,4 @@ TESTS_ENVIRONMENT = \
   GNC_BUILDDIR="${abs_top_builddir}" \
   $(shell ${abs_top_srcdir}/src/gnc-test-env.pl --noexports ${GNC_TEST_DEPS})
 
-EXTRA_DIST = test-load-module
+EXTRA_DIST = test-load-module CMakeLists.txt
diff --git a/src/report/utility-reports/Makefile.am b/src/report/utility-reports/Makefile.am
index f2b46b5..5fc4770 100644
--- a/src/report/utility-reports/Makefile.am
+++ b/src/report/utility-reports/Makefile.am
@@ -89,7 +89,7 @@ clean-local:
 
 noinst_DATA = .scm-links
 
-EXTRA_DIST = ${gncscmmod_DATA}
+EXTRA_DIST = ${gncscmmod_DATA} CMakeLists.txt
 
 CLEANFILES = .scm-links ${gncscmmodcache_DATA}
 DISTCLEANFILES = ${SCM_FILE_LINKS}
diff --git a/src/report/utility-reports/test/Makefile.am b/src/report/utility-reports/test/Makefile.am
index ec5e232..fbfc3ff 100644
--- a/src/report/utility-reports/test/Makefile.am
+++ b/src/report/utility-reports/test/Makefile.am
@@ -32,4 +32,4 @@ TESTS_ENVIRONMENT = \
   GNC_BUILDDIR="${abs_top_builddir}" \
   $(shell ${abs_top_srcdir}/src/gnc-test-env.pl --noexports ${GNC_TEST_DEPS})
 
-EXTRA_DIST = test-load-module
+EXTRA_DIST = test-load-module CMakeLists.txt
diff --git a/src/scm/Makefile.am b/src/scm/Makefile.am
index 4931a2c..c79452e 100644
--- a/src/scm/Makefile.am
+++ b/src/scm/Makefile.am
@@ -70,7 +70,8 @@ SCM_FILES = ${gncscm_DATA} ${gncscmmod_DATA}
 EXTRA_DIST = \
   build-config.scm.in \
   config \
-  ${SCM_FILES}
+  ${SCM_FILES} \
+  CMakeLists.txt
 
 ## We borrow guile's convention and use @-...-@ as the substitution
 ## brackets here, instead of the usual @... at .  This prevents autoconf
diff --git a/src/scm/gnumeric/Makefile.am b/src/scm/gnumeric/Makefile.am
index 024086a..2e12cf6 100644
--- a/src/scm/gnumeric/Makefile.am
+++ b/src/scm/gnumeric/Makefile.am
@@ -31,7 +31,8 @@ endif
 noinst_DATA = .scm-links
 
 EXTRA_DIST = \
-  ${gncscm_DATA}
+  ${gncscm_DATA} \
+  CMakeLists.txt
 
 CLEANFILES = .scm-links ${gncscmcache_DATA}
 
diff --git a/src/tax/Makefile.am b/src/tax/Makefile.am
index da178ad..a40468e 100644
--- a/src/tax/Makefile.am
+++ b/src/tax/Makefile.am
@@ -1 +1,3 @@
 SUBDIRS = us
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/tax/us/Makefile.am b/src/tax/us/Makefile.am
index 07d50d6..143441a 100644
--- a/src/tax/us/Makefile.am
+++ b/src/tax/us/Makefile.am
@@ -78,7 +78,8 @@ noinst_DATA = .scm-links
 
 EXTRA_DIST = \
   ${gncscmmod_DATA} \
-  ${gncscm_DATA}
+  ${gncscm_DATA} \
+  CMakeLists.txt
 
 CLEANFILES = .scm-links ${gncscmmodcache_DATA} ${gncscmcache_DATA}
 
diff --git a/src/tax/us/test/Makefile.am b/src/tax/us/test/Makefile.am
index bab6a0e..c25bb43 100644
--- a/src/tax/us/test/Makefile.am
+++ b/src/tax/us/test/Makefile.am
@@ -15,3 +15,5 @@ TESTS_ENVIRONMENT = \
 check_PROGRAMS=test-link-module
 test_link_module_SOURCES=test-link-module.c
 test_link_module_LDADD=../libgncmod-tax-us.la ${GUILE_LIBS} ${GLIB_LIBS}
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/src/test-core/Makefile.am b/src/test-core/Makefile.am
index 5570efe..13dcee2 100644
--- a/src/test-core/Makefile.am
+++ b/src/test-core/Makefile.am
@@ -124,7 +124,8 @@ EXTRA_DIST = \
   swig-unittest-support-python.c \
   swig-unittest-support-guile.c \
   unittest_support.py \
-  unittest-support.i
+  unittest-support.i \
+  CMakeLists.txt
 
 MAINTAINERCLEANFILES = \
 	swig-unittest-support-guile.c \
diff --git a/test-templates/Makefile.am b/test-templates/Makefile.am
index 2ec0cc6..f0f1d38 100644
--- a/test-templates/Makefile.am
+++ b/test-templates/Makefile.am
@@ -50,3 +50,5 @@ test_foo_CFLAGS = \
 	${DEFAULT_INCLUDES} \
 	-I$(top_srcdir)/${MODULEPATH}/ \
 	${GLIB_CFLAGS}
+
+EXTRA_DIST = CMakeLists.txt



Summary of changes:
 Makefile.am                                        | 12 +++++++++++-
 accounts/C/Makefile.am                             |  3 ++-
 accounts/Makefile.am                               |  1 +
 accounts/cs/Makefile.am                            |  3 ++-
 accounts/da/Makefile.am                            |  3 ++-
 accounts/de_AT/Makefile.am                         |  2 ++
 accounts/de_CH/Makefile.am                         |  3 ++-
 accounts/de_DE/Makefile.am                         |  3 ++-
 accounts/el_GR/Makefile.am                         |  3 ++-
 accounts/en_GB/Makefile.am                         |  3 ++-
 accounts/es_ES/Makefile.am                         |  3 ++-
 accounts/es_MX/Makefile.am                         |  3 ++-
 accounts/fi_FI/Makefile.am                         |  3 ++-
 accounts/fr_CA/Makefile.am                         |  3 ++-
 accounts/fr_CH/Makefile.am                         |  3 ++-
 accounts/fr_FR/Makefile.am                         |  3 ++-
 accounts/hu_HU/Makefile.am                         |  3 ++-
 accounts/it/Makefile.am                            |  3 ++-
 accounts/ja/Makefile.am                            |  3 ++-
 accounts/ko/Makefile.am                            |  3 ++-
 accounts/lt/Makefile.am                            |  3 ++-
 accounts/lv/Makefile.am                            |  3 ++-
 accounts/nb/Makefile.am                            |  3 ++-
 accounts/nl/Makefile.am                            |  3 ++-
 accounts/pl/Makefile.am                            |  3 ++-
 accounts/pt_BR/Makefile.am                         |  3 ++-
 accounts/pt_PT/Makefile.am                         |  3 ++-
 accounts/ru/Makefile.am                            |  3 ++-
 accounts/sk/Makefile.am                            |  3 ++-
 accounts/sv_AX/Makefile.am                         |  3 ++-
 accounts/sv_FI/Makefile.am                         |  3 ++-
 accounts/sv_SE/Makefile.am                         |  3 ++-
 accounts/tr_TR/Makefile.am                         |  3 ++-
 accounts/zh_CN/Makefile.am                         |  3 ++-
 accounts/zh_HK/Makefile.am                         |  3 ++-
 accounts/zh_TW/Makefile.am                         |  3 ++-
 checks/Makefile.am                                 |  2 +-
 doc/Makefile.am                                    |  3 ++-
 doc/examples/Makefile.am                           |  3 ++-
 lib/Makefile.am                                    |  2 +-
 lib/libc/Makefile.am                               |  3 ++-
 lib/stf/Makefile.am                                |  2 +-
 packaging/Makefile.am                              |  3 ++-
 src/Makefile.am                                    | 17 ++++++++++++++++-
 src/app-utils/Makefile.am                          |  3 ++-
 src/app-utils/test/Makefile.am                     |  3 ++-
 src/backend/Makefile.am                            |  1 +
 src/backend/dbi/Makefile.am                        |  2 ++
 src/backend/dbi/test/Makefile.am                   |  3 ++-
 src/backend/sql/Makefile.am                        |  2 ++
 src/backend/sql/test/Makefile.am                   |  2 ++
 src/backend/xml/Makefile.am                        |  2 ++
 src/backend/xml/test/Makefile.am                   |  3 ++-
 src/backend/xml/test/test-files/Makefile.am        |  2 ++
 src/backend/xml/test/test-files/xml2/Makefile.am   |  4 +++-
 src/bin/Makefile.am                                |  5 +++--
 src/bin/overrides/Makefile.am                      |  3 ++-
 src/bin/test/Makefile.am                           |  4 +++-
 src/business/Makefile.am                           |  2 ++
 src/business/business-gnome/Makefile.am            |  3 ++-
 src/business/business-gnome/gschemas/Makefile.am   |  2 ++
 src/business/business-gnome/gtkbuilder/Makefile.am |  3 ++-
 src/business/business-gnome/ui/Makefile.am         |  2 +-
 src/business/business-ledger/Makefile.am           |  2 ++
 src/core-utils/Makefile.am                         |  8 +++++++-
 src/core-utils/test/Makefile.am                    |  3 ++-
 src/debug/Makefile.am                              |  3 ++-
 src/debug/valgrind/Makefile.am                     |  3 ++-
 src/doc/Makefile.am                                |  3 ++-
 src/doc/design/Makefile.am                         |  2 ++
 src/doc/xml/Makefile.am                            |  3 ++-
 src/engine/Makefile.am                             |  3 ++-
 src/engine/test-core/Makefile.am                   |  2 ++
 src/engine/test/Makefile.am                        |  3 ++-
 src/gnc-module/Makefile.am                         |  3 ++-
 src/gnc-module/test/Makefile.am                    |  3 ++-
 src/gnc-module/test/misc-mods/Makefile.am          |  2 ++
 src/gnc-module/test/mod-bar/Makefile.am            |  3 ++-
 src/gnc-module/test/mod-baz/Makefile.am            |  3 ++-
 src/gnc-module/test/mod-foo/Makefile.am            |  3 ++-
 src/gnome-search/Makefile.am                       |  3 ++-
 src/gnome-utils/Makefile.am                        |  3 ++-
 src/gnome-utils/gschemas/Makefile.am               |  2 ++
 src/gnome-utils/gtkbuilder/Makefile.am             |  2 +-
 src/gnome-utils/test/Makefile.am                   |  3 ++-
 src/gnome-utils/ui/Makefile.am                     |  2 +-
 src/gnome/Makefile.am                              |  3 ++-
 src/gnome/gschemas/Makefile.am                     |  2 ++
 src/gnome/gtkbuilder/Makefile.am                   |  2 +-
 src/gnome/ui/Makefile.am                           |  2 +-
 src/html/Makefile.am                               |  3 ++-
 src/import-export/Makefile.am                      |  3 ++-
 src/import-export/aqb/Makefile.am                  |  6 +++++-
 src/import-export/aqb/gschemas/Makefile.am         |  2 ++
 src/import-export/csv-exp/Makefile.am              |  2 +-
 src/import-export/csv-exp/gschemas/Makefile.am     |  2 ++
 src/import-export/csv-imp/Makefile.am              |  2 +-
 src/import-export/csv-imp/gschemas/Makefile.am     |  2 ++
 src/import-export/csv-imp/test/Makefile.am         |  3 ++-
 src/import-export/gschemas/Makefile.am             |  2 ++
 src/import-export/log-replay/Makefile.am           |  2 ++
 src/import-export/ofx/Makefile.am                  |  2 +-
 src/import-export/ofx/gschemas/Makefile.am         |  2 ++
 src/import-export/ofx/test/Makefile.am             |  2 ++
 src/import-export/qif-imp/Makefile.am              |  3 ++-
 src/import-export/qif-imp/gschemas/Makefile.am     |  2 ++
 src/import-export/qif-imp/test/Makefile.am         |  1 +
 src/import-export/qif/Makefile.am                  |  2 ++
 src/import-export/qif/test/Makefile.am             |  2 +-
 src/import-export/test/Makefile.am                 |  2 ++
 src/libqof/Makefile.am                             |  1 +
 src/libqof/qof/Makefile.am                         |  3 ++-
 src/libqof/qof/test/Makefile.am                    |  2 ++
 src/optional/Makefile.am                           |  2 ++
 src/optional/gtkmm/Makefile.am                     |  2 +-
 src/optional/gtkmm/test/Makefile.am                |  2 ++
 src/optional/python-bindings/Makefile.am           |  4 +++-
 src/optional/python-bindings/tests/Makefile.am     |  3 ++-
 src/pixmaps/Makefile.am                            |  3 ++-
 src/plugins/Makefile.am                            |  6 +++++-
 src/plugins/bi_import/Makefile.am                  |  2 ++
 src/plugins/bi_import/gtkbuilder/Makefile.am       |  2 +-
 src/plugins/bi_import/ui/Makefile.am               |  2 +-
 src/plugins/customer_import/Makefile.am            |  2 ++
 src/plugins/customer_import/gtkbuilder/Makefile.am |  2 +-
 src/plugins/customer_import/ui/Makefile.am         |  2 +-
 src/plugins/example/glade/Makefile.am              |  2 +-
 src/plugins/example/ui/Makefile.am                 |  2 +-
 src/python/Makefile.am                             |  2 +-
 src/python/pycons/Makefile.am                      |  2 +-
 src/quotes/Makefile.am                             |  3 ++-
 src/register/Makefile.am                           |  2 ++
 src/register/ledger-core/Makefile.am               |  2 ++
 src/register/ledger-core/test/Makefile.am          |  2 ++
 src/register/register-core/Makefile.am             |  2 ++
 src/register/register-core/test/Makefile.am        |  3 ++-
 src/register/register-gnome/Makefile.am            |  2 ++
 src/register/register-gnome/test/Makefile.am       |  3 ++-
 src/report/Makefile.am                             |  1 +
 src/report/business-reports/Makefile.am            |  3 ++-
 src/report/jqplot/Makefile.am                      |  6 ++++--
 src/report/locale-specific/Makefile.am             |  2 ++
 src/report/locale-specific/us/Makefile.am          |  3 ++-
 src/report/locale-specific/us/test/Makefile.am     |  2 ++
 src/report/report-gnome/Makefile.am                |  3 ++-
 src/report/report-gnome/test/Makefile.am           |  2 +-
 src/report/report-system/Makefile.am               |  7 ++++++-
 src/report/report-system/test/Makefile.am          |  3 ++-
 src/report/standard-reports/Makefile.am            |  3 ++-
 src/report/standard-reports/test/Makefile.am       |  3 ++-
 src/report/stylesheets/Makefile.am                 |  2 +-
 src/report/stylesheets/test/Makefile.am            |  2 +-
 src/report/utility-reports/Makefile.am             |  2 +-
 src/report/utility-reports/test/Makefile.am        |  2 +-
 src/scm/Makefile.am                                |  3 ++-
 src/scm/gnumeric/Makefile.am                       |  3 ++-
 src/tax/Makefile.am                                |  2 ++
 src/tax/us/Makefile.am                             |  3 ++-
 src/tax/us/test/Makefile.am                        |  2 ++
 src/test-core/Makefile.am                          |  3 ++-
 test-templates/Makefile.am                         |  2 ++
 161 files changed, 335 insertions(+), 119 deletions(-)



More information about the gnucash-changes mailing list