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:
parent
47aac7b051
commit
b2624eb0fb
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,6 +28,7 @@
|
||||
*.egg/
|
||||
/env
|
||||
/paste.ini
|
||||
/mediagoblin.ini
|
||||
|
||||
# pyconfigure/automake generated files
|
||||
/Makefile
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user