diff options
author | Harald Hoyer <harald@redhat.com> | 2009-07-17 15:59:36 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-07-17 16:00:20 +0200 |
commit | b54cac21c16f22c5d9609e378a38c0645296051a (patch) | |
tree | 64c7ea8481f3ea2e35cd8f9cf53478a5cd77feb0 /Makefile | |
parent | acff0cc10c1fba3e9755f943d4ec630b31884e68 (diff) |
Makefile: make clean before rpm0.5
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ clean: rm -f *~ rm -f modules.d/99base/switch_root rm -f test-*.img + rm -f dracut-*.rpm dracut-*.tar.bz2 make -C test clean archive: dracut-$(VERSION)-$(GITVERSION).tar.bz2 @@ -47,7 +48,7 @@ dracut-$(VERSION)-$(GITVERSION).tar.bz2: git archive --format=tar HEAD --prefix=dracut-$(VERSION)-$(GITVERSION)/ |bzip2 > dracut-$(VERSION)-$(GITVERSION).tar.bz2 -rpm: dracut-$(VERSION).tar.bz2 +rpm: clean dracut-$(VERSION).tar.bz2 rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" --define "_rpmdir $$PWD" -ba dracut.spec rm -fr BUILD BUILDROOT |