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 <ramsay@ramsay1.demon.co.uk> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
May 8, 2010 at 18:36 UTC
e5bd0a1b362ecc4bcd03a4d3628c7e78f861f3ca
1 file changed
+1
-1
Makefile
+1
-1
@@ -2098,7 +2098,7 @@ clean:
2098
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
2099
$(MAKE) -C Documentation/ clean
2100
ifndef NO_PERL
2101
- $(RM) gitweb/gitweb.cgi gitweb/gitweb.min.*
2101
+ $(MAKE) -C gitweb clean
2102
$(MAKE) -C perl clean
2103
endif
2104
ifndef NO_PYTHON