summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index cba3af2b247..eb6ea2937d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,3 +48,14 @@ clean-local:
fi
@rm -rf src/test/virtualenv
+
+
+# NOTE: This only works when enough dependencies are installed for
+# autoconf to be happy. These commands should be run manually to
+# bootstrap.
+install-deps:
+ if test -x /usr/bin/apt-get; then \
+ sudo apt-get -y --no-install-recommends install `cat deps.deb.txt`; \
+ else \
+ sudo yum -y install `cat deps.rpm.txt`; \
+ fi