Skip to content

Commit a557976

Browse files
author
Junio C Hamano
committed
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>
1 parent cf408cb commit a557976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ deb: dist
380380
### Cleaning rules
381381

382382
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)
384384
rm -f $(filter-out gitk,$(SCRIPTS))
385-
rm -f git-core.spec
385+
rm -f git-core.spec *.pyc *.pyo
386386
rm -rf $(GIT_TARNAME)
387387
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
388388
rm -f git-core_$(GIT_VERSION)-*.deb git-core_$(GIT_VERSION)-*.dsc

0 commit comments

Comments
 (0)