Skip to content

Commit

Permalink
Makefile: make install-deps rule
Browse files Browse the repository at this point in the history
This only works if autoconf is happy, but it's better than nothing.

Fixes: ceph#8259
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed May 28, 2014
1 parent 6fe7564 commit 93a61df
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 93a61df

Please sign in to comment.