OSDN Git Service

diff-highlight: add clean target to Makefile
authorDaniel Watkins <daniel@daniel-watkins.co.uk>
Tue, 29 Aug 2017 11:23:11 +0000 (12:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Sep 2017 03:56:26 +0000 (12:56 +0900)
Now that `make` produces a file, we should have a clean target to remove
it.

Signed-off-by: Daniel Watkins <daniel@daniel-watkins.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/diff-highlight/Makefile

index fbf5c58..f2be7cc 100644 (file)
@@ -17,4 +17,7 @@ shebang.perl: FORCE
 test: all
        $(MAKE) -C t
 
+clean:
+       $(RM) diff-highlight
+
 .PHONY: FORCE