- if [[ $(DESTDIR)$(prefix) != $(abs_srcdir) ]]; then \
- $(INSTALL_DATA) $(srcdir)/Makefile $(DESTDIR)$(prefix)/Makefile; \
- $(INSTALL_DATA) $(srcdir)/lazycelery.sh $(DESTDIR)$(prefix)/lazycelery.sh; \
- $(INSTALL_DATA) $(srcdir)/lazyserver.sh $(DESTDIR)$(prefix)/lazyserver.sh; \
- fi
-
-# The same as "install", except use the "develop" setup.py target
-develop: installdirs
- $(NORMAL_INSTALL)
-ifneq ($(VIRTUALENV),no)
- $(VIRTUALENV) $(VIRTUALENV_FLAGS) --python=$(PYTHON) \
- --system-site-packages $(DESTDIR)$(prefix) || \
- $(VIRTUALENV) $(DESTDIR)$(prefix)
- $(DESTDIR)$(prefix)/bin/python $(srcdir)/setup.py develop \
- --prefix=$(DESTDIR)$(prefix)
+
+.PHONY: all install uninstall distclean info install-html html \
+install-pdf pdf install-dvi dvi install-ps ps clean dist check \
+installdirs i18n virtualenv
+# update postgresql
+
+all: develop
+
+develop: $(maybe_venv_dep) i18n paste.ini mediagoblin.ini
+
+# NEVER clobber a user's mediagoblin.ini once they've defined it
+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