CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
cd ${CONF_DIR}
# --
-# -- list all Makefile.am in Makefile.am.list
-./rfind . Makefile.am > Makefile.am.list
+# -- list all Makefile.am in Makefile.am.list, except those in CppExamples (which has its own AM tree)
+./rfind . Makefile.am | grep -v CppExamples > Makefile.am.list
# --
# -- configure.in construction
cp configure.in.base configure.in