         (deputils/cp-files-of-type lein-project "doc"
                                    docs-prefix get-out-dir-for-doc-file)))
 
-(defn- get-bin-files-in
-  [jar]
-  (deputils/find-files-in-dir-in-jar jar shared-bin-prefix))
-
-(defn cp-shared-bin-files
-  [dependencies]
-  (let [files (for [{:keys [project jar]} dependencies]
-                [project jar (get-bin-files-in jar)])]
-    (doseq [[project jar bin-files] files]
-      (deputils/cp-files-from-jar bin-files jar staging-dir))
-    ;; Return just a list of the files
-    (mapcat last files)))
-
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;; Upstream EZBake config handling
 

        rel-files             (for [config-file project-config-files]
                                (cp-project-config-file project-config-dir config-file))]
    (concat config-files rel-files)))

(defn- get-cli-app-files-in
  [jar]
  (deputils/find-files-in-dir-in-jar jar shared-cli-apps-prefix))

(defn cp-shared-cli-app-files
  [dependencies]
  (let [files (for [{:keys [project jar]} dependencies]
                [project jar (get-cli-app-files-in jar)])
        cli-dir (str template-dir-prefix "/global/ext/cli")]
    (doseq [[project jar cli-app-files] files]
      (deputils/cp-files-from-jar cli-app-files jar staging-dir))
    (doseq [f (fs/glob (fs/file cli-dir) "*")]
      (fs/copy+ f (format "%s/%s/%s" staging-dir "ext/cli" (fs/base-name f))))
    ;; Return just a list of the files
    (concat (mapcat last files)
            (map #(str "ext/cli/" %) (fs/list-dir cli-dir)))))

(defn get-real-name
  [project-name]

  [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- prefix-project-name
  [project-name build-target]
