Add a "make docs" target
This commit is contained in:
parent
2acf47d8cd
commit
2f841a6c8f
10
Makefile.in
10
Makefile.in
@ -80,11 +80,19 @@ endif
|
|||||||
|
|
||||||
.PHONY: all install uninstall distclean info install-html html \
|
.PHONY: all install uninstall distclean info install-html html \
|
||||||
install-pdf pdf install-dvi dvi install-ps ps clean dist check \
|
install-pdf pdf install-dvi dvi install-ps ps clean dist check \
|
||||||
installdirs i18n virtualenv
|
installdirs i18n virtualenv docs
|
||||||
|
|
||||||
# update postgresql
|
# update postgresql
|
||||||
|
|
||||||
all: develop
|
all: develop
|
||||||
|
|
||||||
|
ifneq ($(VIRTUALENV),no)
|
||||||
|
docs:
|
||||||
|
source bin/activate && cd docs && make html
|
||||||
|
else
|
||||||
|
cd docs && make html
|
||||||
|
endif
|
||||||
|
|
||||||
develop: $(maybe_venv_dep) i18n mediagoblin.ini
|
develop: $(maybe_venv_dep) i18n mediagoblin.ini
|
||||||
|
|
||||||
# NEVER clobber a user's mediagoblin.ini once they've defined it
|
# NEVER clobber a user's mediagoblin.ini once they've defined it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user