]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: copy created rpms from rpmbuild in "rpm" target
authorHarald Hoyer <harald@redhat.com>
Mon, 18 Jul 2011 15:04:27 +0000 (17:04 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 18 Jul 2011 15:04:27 +0000 (17:04 +0200)
Makefile

index 778c78c0efd42b2f57874cf81a2eb0397176a1b3..ad2f3404a1f428769765b679b6c8bf09fefecded 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ rpm: dracut-$(VERSION).tar.bz2
                --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \
                --define "_rpmdir $$PWD" -ba dracut.spec || :; \
        cd ..;
-       rm -fr rpmbuild
+       mv rpmbuild/noarch/*.rpm .; mv rpmbuild/*.src.rpm .;rm -fr rpmbuild; ls *.rpm
 
 syncheck:
        @ret=0;for i in dracut-logger modules.d/99base/init modules.d/*/*.sh; do \