Code

Clean generated files a bit more.
authorJunio C Hamano <junkio@cox.net>
Sun, 25 Sep 2005 06:48:29 +0000 (23:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 25 Sep 2005 06:48:29 +0000 (23:48 -0700)
Now we conditionally compile things in compat/, so we should remove
object files there.  Python execution can leave *.pyc and *.pyo, which
need to be cleaned as well.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 67279203e8d3aabd57152e247a565462257bf406..d18153de5d5328bbf40bc9c813c36a43835aba23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -380,9 +380,9 @@ deb: dist
 ### Cleaning rules
 
 clean:
-       rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROGRAMS) $(LIB_FILE)
+       rm -f *.o mozilla-sha1/*.o ppc/*.o compat/*.o $(PROGRAMS) $(LIB_FILE)
        rm -f $(filter-out gitk,$(SCRIPTS))
-       rm -f git-core.spec
+       rm -f git-core.spec *.pyc *.pyo
        rm -rf $(GIT_TARNAME)
        rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
        rm -f git-core_$(GIT_VERSION)-*.deb git-core_$(GIT_VERSION)-*.dsc