diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-17 15:38:34 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-17 15:38:49 -0600 |
commit | 2f841a6c8f3b8e5c89a9e3a2bd5b889ba20b6360 (patch) | |
tree | b5255d872c52e32aca7ba630b18e66dc1c3eb253 | |
parent | 2acf47d8cd76c84a05b7886a75c259a829c4ed90 (diff) | |
download | mediagoblin-2f841a6c8f3b8e5c89a9e3a2bd5b889ba20b6360.tar.lz mediagoblin-2f841a6c8f3b8e5c89a9e3a2bd5b889ba20b6360.tar.xz mediagoblin-2f841a6c8f3b8e5c89a9e3a2bd5b889ba20b6360.zip |
Add a "make docs" target
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index c4da4986..a173bf86 100644 --- a/Makefile.in +++ b/Makefile.in @@ -80,11 +80,19 @@ endif .PHONY: all install uninstall distclean info install-html html \ install-pdf pdf install-dvi dvi install-ps ps clean dist check \ -installdirs i18n virtualenv +installdirs i18n virtualenv docs + # update postgresql 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 # NEVER clobber a user's mediagoblin.ini once they've defined it |