From 03c30046232d2edc47e1a65e0210c8eabee110f8 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Fri, 8 Aug 2008 13:21:24 -1000 Subject: Add install-buildrequires target. If I clone the anaconda repo on a test system and want to build from the source tree, I have to make sure all of the BuildRequires are installed. 'make install-buildrequires' runs the command I always use. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 542cdcfbd..fe5f17d2a 100644 --- a/Makefile +++ b/Makefile @@ -153,3 +153,6 @@ bumpver: (head -n $$cl anaconda.spec ; echo "$$DATELINE" ; cat newspeclog ; echo ""; cat speclog) > anaconda.spec.new ; \ mv anaconda.spec.new anaconda.spec ; rm -f speclog ; rm -f newspeclog ; \ sed -i "s/Version: $(VERSION)/Version: $$NEWVERSION/" anaconda.spec + +install-buildrequires: + yum install $$(grep BuildRequires: anaconda.spec | cut -d ' ' -f 2)) -- cgit