# rm -v $(pythondir)/$(PACKAGE_DISTNAME)-*.egg-info
#
-
-clean:
- @echo "No rule to clean house, yet."
- @echo "distclean works but might do more than you want. :)"
-
-
# We don't know what this does yet.
# Originally:
## Just use the usual setup.py clean command
#clean:
# $(maybe_venved_python) setup.py clean
+clean:
+ @echo "No rule to clean house, yet."
+ @echo "distclean works but might do more than you want. :)"
# It's not obvious to me whether the virtualenv/bower/npm things should be
installdirs:
$(MKDIR_P) $(DESTDIR)$(prefix)
-# # Set up PostgreSQL
-# postgresql:
-# sudo -u $(POSTGRES) createuser mediagoblin
-# sudo -u $(POSTGRES) createdb -E UNICODE -O mediagoblin mediagoblin
-
-# update:
-# ifneq ($(VIRTUALENV),no)
-# $(prefix)/bin/python $(srcdir)/setup.py develop --prefix=$(prefix) --upgrade
-# else
-# $(PYTHON) $(srcdir)/setup.py develop --prefix=$(prefix) --upgrade
-# endif
-# $(prefix)/bin/gmg dbupdate
-
######################
# Needs to be updated?
######################
info: docs/build/texinfo/mediagoblin.info
docs/build/texinfo/mediagoblin.info: $(wildcard docs/source/*)
-ifneq ($(SPHINXBUILD),no)
- $(MAKE) -C docs info SPHINXBUILD=$(SPHINXBUILD)
+ifneq ($(VIRTUALENV),no)
+ source bin/activate && cd docs && make info
+else
+ cd docs && make info
endif
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('index', 'gnumediagoblin', u'GNU MediaGoblin Documentation',
+ ('index', 'mediagoblin', u'GNU MediaGoblin Documentation',
[u'Chris Webber, et al'], 1)
]
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- ('index', 'gnumediagoblin', u'GNU MediaGoblin Documentation', u'gnumediagoblin',
+ ('index', 'mediagoblin', u'GNU MediaGoblin Documentation', u'mediagoblin',
'GNU MediaGoblin', 'Media sharing web application.', 'Miscellaneous'),
]
'sqlalchemy<0.9.0, >0.8.0',
'itsdangerous',
'pytz',
+ 'sphinx',
# PLEASE change this when we can; a dependency is forcing us to set this
# specific number and it is breaking setup.py develop
'six==1.5.2',