@matheusbsbs / matheus-bagliano / commits / a55797672d
Fork 0

Clean generated files a bit more.

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>

Junio C Hamano committed Sep 24, 2005 at 23:48 UTC a55797672d7c532173a3d01629ecdf42deecd16a
1 file changed +2 -2
Makefile
+2 -2
@@ -380,9 +380,9 @@ deb: dist
380 ### Cleaning rules
381
382 clean:
383 - rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROGRAMS) $(LIB_FILE)
383 + rm -f *.o mozilla-sha1/*.o ppc/*.o compat/*.o $(PROGRAMS) $(LIB_FILE)
384 rm -f $(filter-out gitk,$(SCRIPTS))
385 - rm -f git-core.spec
385 + rm -f git-core.spec *.pyc *.pyo
386 rm -rf $(GIT_TARNAME)
387 rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
388 rm -f git-core_$(GIT_VERSION)-*.deb git-core_$(GIT_VERSION)-*.dsc