Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Fix target 'check-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWiederhake committed Aug 31, 2019
1 parent 49f67d7 commit 53d5ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Expand Up @@ -318,7 +318,7 @@ DIST_ERR_MSG="Working directory is not git clean.\
Run 'git status' to show what files are causing this.\
Please note that 'make dist' packages the state in git, not the one on your disk."

SUBMOD_ERR_MSG="Couldn't find tgl/tl-parser/tl-parser.c\
SUBMOD_ERR_MSG="Submodule tgl looks weird.\
Are all submodules properly initialized and updated?"

# Not PHONY
Expand All @@ -328,7 +328,7 @@ Are all submodules properly initialized and updated?"
.PHONY: check-clean
check-clean: .git
@test "x" = x"`git status --porcelain`" || (echo ${DIST_ERR_MSG}; exit 1)
@test -r tgl/tl-parser/.git || (echo ${SUBMOD_ERR_MSG}; exit 1)
@test -r tgl/.git || (echo ${SUBMOD_ERR_MSG}; exit 1)

# Feel free to remove the "check-clean" dependency if you know what you're doing.
.PHONY: dist
Expand Down

0 comments on commit 53d5ee5

Please sign in to comment.