aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2015-06-03 14:21:37 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-06-03 14:21:37 -0500
commit90dbaefb801ee588692fbfb5b0a637cda5c84088 (patch)
tree510ddd7cffe56953e9db4f7126d829b07bdfa8ef
parenteb8a6ba0cc97a724cf399e380a2abfc886c3234b (diff)
downloadmediagoblin-90dbaefb801ee588692fbfb5b0a637cda5c84088.tar.lz
mediagoblin-90dbaefb801ee588692fbfb5b0a637cda5c84088.tar.xz
mediagoblin-90dbaefb801ee588692fbfb5b0a637cda5c84088.zip
"make check" should work, and "make dist" should use setup.py
-rw-r--r--Makefile.in13
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 857ebb4a..06524f32 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -167,6 +167,8 @@ distclean: $(maybe_venv_clean)
rm -rf node_modules
rm -vf $(srcdir)/Makefile
+check:
+ ./runtests.sh
###########################################################################
# These things aren't really tested / supported yet.
@@ -178,17 +180,8 @@ distclean: $(maybe_venv_clean)
## 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:
- ./runtests.sh
+ $(maybe_venved_python) setup.py sdist
# setup.py might complain if a directory doesn't exist so just in case, make the directory
# here