aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-05-08 18:36:15 +0100
committerJunio C Hamano <gitster@pobox.com>2010-05-08 11:14:40 -0700
commite5bd0a1b362ecc4bcd03a4d3628c7e78f861f3ca (patch)
tree1372727304c8467c8e1788f3bb5f2afb130871c6 /Makefile
parentcfb88e9a8d4926b0011ae2dd67e1f57a98f4b768 (diff)
downloadgit-e5bd0a1b362ecc4bcd03a4d3628c7e78f861f3ca.tar.gz
git-e5bd0a1b362ecc4bcd03a4d3628c7e78f861f3ca.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 910f4713e..eb1d1623c 100644
--- a/Makefile
+++ b/Makefile
@@ -2098,7 +2098,7 @@ clean:
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
$(MAKE) -C Documentation/ clean
ifndef NO_PERL
- $(RM) gitweb/gitweb.cgi gitweb/gitweb.min.*
+ $(MAKE) -C gitweb clean
$(MAKE) -C perl clean
endif
ifndef NO_PYTHON