Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stone <michael@laptop.org>2010-06-27 21:23:08 (GMT)
committer Michael Stone <michael@laptop.org>2010-06-27 21:23:08 (GMT)
commit09e6d9210f7f100d53d61b23d644a3ff15695b60 (patch)
tree2759e7d005493fb7407958ecdd469c32e060d13e
parent89ba1c0cfdefc8288da078fcc39cc211cf4c67fe (diff)
Move sudo usage into the deps target.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 31e808f..51cff9f 100644
--- a/Makefile
+++ b/Makefile
@@ -278,8 +278,8 @@ DEBIAN_DEPS = devscripts python-dev python-central debhelper dh-buildinfo libgli
FEDORA_DEPS = pkgconfig perl-XML-Parser gettext python pygtk2-devel gtk2-devel GConf2-devel intltool libSM-devel alsa-lib-devel icon-slicer icon-naming-utils xorg-x11-apps pygtk2-codegen python-decorator tigervnc tigervnc-server vte gcc glibc-devel redhat-lsb
deps:
- -(lsb_release -i | grep 'Debian\|Ubuntu') && aptitude install $(DEBIAN_DEPS)
- -(grep 'Fedora' /etc/fedora-release) && yum install $(FEDORA_DEPS)
+ -(lsb_release -i | grep 'Debian\|Ubuntu') && sudo aptitude install $(DEBIAN_DEPS)
+ -(grep 'Fedora' /etc/fedora-release) && sudo yum install $(FEDORA_DEPS)
run:
$(MAKE) DESTDIR=`pwd`/tree install