mirror of
https://github.com/mirror/make.git
synced 2025-01-26 20:30:36 +08:00
* maintMakefile: Don't make .check-git-HEAD .PHONY
This commit is contained in:
parent
e5f6dc54b9
commit
d9aff6b817
@ -137,12 +137,13 @@ ChangeLog: .check-git-HEAD
|
||||
echo "WARNING: $(gl2cl) is not available. No $@ generated."; \
|
||||
fi
|
||||
|
||||
.PHONY: .check-git-HEAD
|
||||
.check-git-HEAD:
|
||||
.check-git-HEAD: FORCE
|
||||
sha="`git rev-parse HEAD`"; \
|
||||
test -f '$@' && [ "`cat '$@' 2>/dev/null`" = "$$sha" ] \
|
||||
|| echo "$$sha" > '$@'
|
||||
|
||||
.PHONY: FORCE
|
||||
FORCE:;@:
|
||||
|
||||
## ---------------- ##
|
||||
## Updating files. ##
|
||||
|
Loading…
Reference in New Issue
Block a user