Removing erronously installed print statement.
[mediagoblin.git] / Makefile.in
index 0a20161bfbbb81affc34a402f0c262c7953a8c95..56e8a6838d5cda7565ef0532d0f8ad3569c1f98c 100644 (file)
@@ -105,7 +105,7 @@ develop: $(maybe_venv_dep) i18n mediagoblin.ini
 
 # NEVER clobber a user's mediagoblin.ini once they've defined it
 mediagoblin.ini:
-       cp --no-clobber mediagoblin.example.ini mediagoblin.ini
+       cp -n mediagoblin.example.ini mediagoblin.ini
 
 # base-configs: paste.ini mediagoblin.example.ini
 
@@ -121,7 +121,7 @@ i18n: $(maybe_venv_dep)
 ifneq ($(VIRTUALENV),no)
 ./bin/python:
        rm -f ./bin/python
-       virtualenv --system-site-packages --python=$(PYTHON) .
+       ${VIRTUALENV} --system-site-packages --python=$(PYTHON) .
        ./bin/python setup.py develop --upgrade
 
 virtualenv: bin/python extlib
@@ -167,24 +167,21 @@ distclean: $(maybe_venv_clean)
        rm -rf node_modules
        rm -vf $(srcdir)/Makefile
 
+check:
+       ./runtests.sh
 
 ###########################################################################
 # These things aren't really tested / supported yet.
 ###########################################################################
 
 
+## NOTE: We don't use this yet, we use ./devtools/maketarball.sh
+##   We can't switch out ./devtools/maketarball.sh in here because
+##   it requires a git revision as a first argument, which
+##   doesn't always work here
 
-# You can either use the setup.py sdist command or you can roll your own here
-dist: extlib
-#      $(maybe_venved_python) setup.py sdist
-       mkdir $(PACKAGE_DISTNAME)
-       cp -r $(DISTFILES) $(PACKAGE_DISTNAME)
-       tar -czf $(PACKAGE_DISTNAME).tar.gz $(PACKAGE_DISTNAME)
-       rm -rf $(PACKAGE_DISTNAME)
-
-# Use the setup.py check command
-check:
-       $(maybe_venved_python) setup.py check
+dist: $(maybe_venv_dep)
+       $(maybe_venved_python) setup.py sdist
 
 # setup.py might complain if a directory doesn't exist so just in case, make the directory
 # here