Skip to content

Commit

Permalink
common: print out git status in 'make source'
Browse files Browse the repository at this point in the history
  • Loading branch information
ldorau committed Nov 25, 2015
1 parent 3c8b198 commit 511790c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ cstyle:

source:
$(if $(shell git rev-parse 2>&1), $(error Not a git repository))
$(if $(shell git status --porcelain), $(error Working directory is dirty))
$(if $(shell git status --porcelain), $(error Working directory is dirty: $(shell git status --porcelain)))
$(if $(DESTDIR), , $(error Please provide DESTDIR variable))
mkdir -p $(DESTDIR)/nvml
echo -n $(SRCVERSION) > $(DESTDIR)/nvml/.version
Expand Down

0 comments on commit 511790c

Please sign in to comment.