mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Don't commit unless there is data
This commit is contained in:
parent
c1dafcb3fa
commit
fd8ee949a8
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ mv-check-env:
|
|||
# we must commit the index before it's made available to multiversion
|
||||
mv-autodoc-index:
|
||||
@sphinx-apidoc -f -o $(SOURCEDIR)/api/ $(EVDIR)
|
||||
git commit -a -m "Updated API autodoc index."
|
||||
git diff-index --quiet HEAD || git commit -a -m "Updated API autodoc index."
|
||||
|
||||
multiversion-build:
|
||||
@EVDIR=$(EVDIR) EVGAMEDIR=$(EVGAMEDIR) sphinx-multiversion "$(SOURCEDIR)" "$(BUILDDIR)/html"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue