X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/6850f664696a5401ce056ebd2f3fe67327a8de05f1452306ba9e126446449f96..d5ca249cbe6db5b1ebe794cb3007f2989e36bd62bfad51bf7c2a6482a48ca159:/Makefile diff --git a/Makefile b/Makefile index 0a51dd6..43c4e0b 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,9 @@ HIGHLIGHT_BIN = highlight ../GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE +ifneq ($(MAKECMDGOALS),clean) -include ../GIT-VERSION-FILE +endif ### Build rules @@ -187,7 +189,9 @@ install: all ### Cleaning rules clean: - $(RM) gitweb.cgi static/gitweb.min.js static/gitweb.min.css GITWEB-BUILD-OPTIONS + $(RM) gitweb.cgi static/gitweb.js \ + static/gitweb.min.js static/gitweb.min.css \ + GITWEB-BUILD-OPTIONS .PHONY: all clean install test test-installed .FORCE-GIT-VERSION-FILE FORCE