Users now get an editable copy of mediagoblin.example.ini->mediagoblin.ini

This way we no longer have people confusedly editing mediagoblin.ini
when they meant to edit mediagoblin.example.ini.  Hopefully it should be
a lot simpler.
This commit is contained in:
Christopher Allan Webber 2014-10-08 14:59:18 -05:00
parent 47aac7b051
commit b2624eb0fb
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -28,6 +28,7 @@
*.egg/
/env
/paste.ini
/mediagoblin.ini
# pyconfigure/automake generated files
/Makefile

View File

@ -81,8 +81,12 @@ installdirs i18n virtualenv
all: develop
develop: $(maybe_venv_dep) i18n paste.ini
develop: $(maybe_venv_dep) i18n paste.ini mediagoblin.ini
mediagoblin.ini:
cp --no-clobber mediagoblin.example.ini mediagoblin.ini
# We just symlink the mediagoblin from the appropriate python version
paste.ini:
ifeq ($(USE_PYTHON3),yes)
-ln -s paste.py3.ini paste.ini