diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-08-08 13:21:24 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-08-08 13:24:58 -1000 |
commit | 03c30046232d2edc47e1a65e0210c8eabee110f8 (patch) | |
tree | af733fa8df6aa9c0e77d97de1cf68e43ca92dcd3 /Makefile | |
parent | 15e0b9e634c154c57cd785744f8e73f322552b55 (diff) | |
download | anaconda-03c30046232d2edc47e1a65e0210c8eabee110f8.tar.gz anaconda-03c30046232d2edc47e1a65e0210c8eabee110f8.tar.xz anaconda-03c30046232d2edc47e1a65e0210c8eabee110f8.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) |