Skip to content

Commit

Permalink
common: initial rpm spec template
Browse files Browse the repository at this point in the history
  • Loading branch information
krzycz authored and wlemkows committed Jul 26, 2017
1 parent 235212b commit c22a2de
Show file tree
Hide file tree
Showing 3 changed files with 767 additions and 400 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ check-license:
sparse:
$(MAKE) -C src sparse

# XXX: restore before commit
# $(if $(shell git status --porcelain), $(error Working directory is dirty: $(shell git status --porcelain)))

source:
$(if $(shell git rev-parse 2>&1), $(error Not a git repository))
$(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
Loading

0 comments on commit c22a2de

Please sign in to comment.