]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/Makefile
Documentation: typofix --column description
[thirdparty/git.git] / Documentation / Makefile
index 69dbe4bb0b78813355a463d5508e8278c26645f5..b9804070594d9cd33dfc1e30cdd925c6e83a2187 100644 (file)
@@ -272,7 +272,9 @@ install-html: html
 ../GIT-VERSION-FILE: FORCE
        $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE
 
+ifneq ($(MAKECMDGOALS),clean)
 -include ../GIT-VERSION-FILE
+endif
 
 #
 # Determine "include::" file references in asciidoc files.
@@ -286,7 +288,9 @@ doc.dep : $(docdep_prereqs) $(wildcard *.txt) $(wildcard config/*.txt) build-doc
        $(PERL_PATH) ./build-docdep.perl >$@+ $(QUIET_STDERR) && \
        mv $@+ $@
 
+ifneq ($(MAKECMDGOALS),clean)
 -include doc.dep
+endif
 
 cmds_txt = cmds-ancillaryinterrogators.txt \
        cmds-ancillarymanipulators.txt \