   [_ lein-project build-target template-dir]
   (cp-template-files template-dir)
   (cp-template-files (get-template-file "global"))
-  (let [dependencies (deputils/get-dependencies-with-jars lein-project)
-        config-files (cp-shared-config-files dependencies)
-        config-files (cp-project-config-files config-files)
-        cli-app-files (cp-shared-cli-app-files dependencies)
-        bin-files (cp-shared-bin-files dependencies)
-        terminus-files (cp-terminus-files dependencies build-target)]
+  (let [dependencies    (deputils/get-dependencies-with-jars lein-project)
+        config-files    (cp-shared-files dependencies get-config-files-in)
+        config-files    (cp-project-config-files config-files)
+        cli-app-files   (cp-shared-files dependencies get-cli-app-files-in)
+        bin-files       (cp-shared-files dependencies get-bin-files-in)
+        terminus-files  (cp-terminus-files dependencies build-target)]
     (if cli-app-files
       (cp-cli-wrapper-scripts (:name lein-project)))
     (cp-doc-files lein-project)

  [lein-project]
  (let [upstream-config-streams (deputils/file-file-in-jars lein-project "ext/ezbake.conf")]
    (reduce add-ezbake-config-to-map {} upstream-config-streams)))

(defn- get-terminus-files-in
  [jar]
  (deputils/find-files-in-dir-in-jar jar terminus-prefix))

(defn- prefix-project-name
  [project-name build-target]

        (deputils/cp-files-of-type lein-project "doc"
                                   docs-prefix get-out-dir-for-doc-file)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Upstream EZBake config handling

