Skip to content

Commit e5bd0a1

Browse files
Ramsay Jonesgitster
authored andcommitted
Makefile: Fix 'clean' target to remove all gitweb build files
In particular the gitweb/GITWEB-BUILD-OPTIONS file was not being removed by the main Makefile. However, the gitweb/Makefile has a 'clean' target that correctly removes all the build products. In order to fix the problem, rather than duplicate the clean-up instructions, we change the main Makefile so that it delegates the clean-up actions to the gitweb Makefile. Signed-off-by: Ramsay Jones <[email protected]> Acked-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cfb88e9 commit e5bd0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ clean:
20982098
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
20992099
$(MAKE) -C Documentation/ clean
21002100
ifndef NO_PERL
2101-
$(RM) gitweb/gitweb.cgi gitweb/gitweb.min.*
2101+
$(MAKE) -C gitweb clean
21022102
$(MAKE) -C perl clean
21032103
endif
21042104
ifndef NO_PYTHON

0 commit comments

Comments
 (0)