{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1356","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1356/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1356/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1356/events","html_url":"https://github.com/RobotLocomotion/drake/issues/1356","id":107562675,"number":1356,"title":"make clean broken (was: New rm + rd clean is not quiet)","user":{"login":"tkoolen","id":2585880,"avatar_url":"https://avatars.githubusercontent.com/u/2585880?v=3","gravatar_id":"","url":"https://api.github.com/users/tkoolen","html_url":"https://github.com/tkoolen","followers_url":"https://api.github.com/users/tkoolen/followers","following_url":"https://api.github.com/users/tkoolen/following{/other_user}","gists_url":"https://api.github.com/users/tkoolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkoolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkoolen/subscriptions","organizations_url":"https://api.github.com/users/tkoolen/orgs","repos_url":"https://api.github.com/users/tkoolen/repos","events_url":"https://api.github.com/users/tkoolen/events{/privacy}","received_events_url":"https://api.github.com/users/tkoolen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-21T17:42:05Z","updated_at":"2015-09-23T10:20:16Z","closed_at":null,"body":"On OSX, make clean in drake results in:\r\n```\r\ntk-sloth:drake twan$ make clean\r\n-- CMAKE_INSTALL_PREFIX=/Users/twan/code/drake/build\r\n-- Preparing to build cmake with dependencies: \r\n-- Preparing to build eigen with dependencies: \r\n-- Preparing to build lcm with dependencies: \r\n-- Preparing to build libbot with dependencies: lcm\r\n-- Preparing to build bullet with dependencies: \r\n-- Preparing to build spotless with dependencies: \r\n-- Preparing to build director with dependencies: lcm;libbot\r\n-- Preparing to build drake with dependencies: cmake;eigen;lcm;libbot;bullet\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /Users/twan/code/drake/pod-build\r\nScanning dependencies of target clean-libbot\r\n\r\n-------------------------------------------\r\n-- bot2-core\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-vis\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-procman\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-lcmgl\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-lcm-utils\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-param\r\n-------------------------------------------\r\n\r\n-------------------------------------------\r\n-- bot2-frames\r\n-------------------------------------------\r\nBuilt target clean-libbot\r\nScanning dependencies of target clean-bullet\r\nmake[5]: rd: No such file or directory\r\nmake[5]: rd: No such file or directory\r\nBuilt target clean-bullet\r\nError: pod-build is not a directory\r\nmake[5]: *** [clean] Error 1\r\nmake[4]: *** [CMakeFiles/clean-spotless] Error 2\r\nmake[3]: *** [CMakeFiles/clean-spotless.dir/all] Error 2\r\nmake[2]: *** [CMakeFiles/clean-all.dir/rule] Error 2\r\nmake[1]: *** [clean-all] Error 2\r\nmake: *** [clean] Error 2\r\n```\r\n\r\nCan we move the removal of build and pod-build into the CMakeLists.txt and use e.g. additional_make_clean_files or just file(REMOVE [file1 ...]) instead?"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/142556885","html_url":"https://github.com/RobotLocomotion/drake/issues/1356#issuecomment-142556885","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1356","id":142556885,"user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T10:20:16Z","updated_at":"2015-09-23T10:20:16Z","body":"and no, don't have a magic button, but am getting fast at it.  pull request coming."}}