]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile: don't try to clean old debian build product
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Tue, 8 Dec 2020 22:35:27 +0000 (22:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Dec 2020 00:56:56 +0000 (16:56 -0800)
The 'clean' target includes code to remove an '*.tar.gz' file that
was the by-product of a debian build. This was originally added by
commit 5a571cdd8a (Clean generated files a bit more, to cope with
Debian build droppings., 2005-08-12). However, all support for the
'debian build' was dropped by commit 7d0e65b892 (Retire debian/
directory., 2006-01-06), which seems to have simply forgotten to
remove the 'git-core_$(GIT_VERSION)-*.tar.gz' from the 'clean'
target. Remove it now.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 45bce31016b3c312b1bdf3ae95cbe9980c2481e4..96e738924c816e51942c627ae87057bcf2d3c22a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3159,7 +3159,7 @@ clean: profile-clean coverage-clean cocciclean
        $(RM) -r po/build/
        $(RM) *.pyc *.pyo */*.pyc */*.pyo $(GENERATED_H) $(ETAGS_TARGET) tags cscope*
        $(RM) -r $(GIT_TARNAME) .doc-tmp-dir
-       $(RM) $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
+       $(RM) $(GIT_TARNAME).tar.gz
        $(RM) $(htmldocs).tar.gz $(manpages).tar.gz
        $(MAKE) -C Documentation/ clean
        $(RM) Documentation/GIT-EXCLUDED-PROGRAMS