mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 15:07:16 +02:00
Don't commit unless there is data
This commit is contained in:
parent
fa7ebc41de
commit
d01fea2d5e
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
|
# we must commit the index before it's made available to multiversion
|
||||||
mv-autodoc-index:
|
mv-autodoc-index:
|
||||||
@sphinx-apidoc -f -o $(SOURCEDIR)/api/ $(EVDIR)
|
@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:
|
multiversion-build:
|
||||||
@EVDIR=$(EVDIR) EVGAMEDIR=$(EVGAMEDIR) sphinx-multiversion "$(SOURCEDIR)" "$(BUILDDIR)/html"
|
@EVDIR=$(EVDIR) EVGAMEDIR=$(EVGAMEDIR) sphinx-multiversion "$(SOURCEDIR)" "$(BUILDDIR)/html"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue