summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-03-05 14:20:05 +0100
committerHarald Hoyer <harald@redhat.com>2009-03-05 14:20:05 +0100
commit8ac8d68a0e20dcba11af195b4d661dd22df64cbe (patch)
tree4b0d765441e6d41ed603d535d661dae27133231e /Makefile
parent7f5112e3d6746f8b0b7e332e10779897221aba27 (diff)
testimage target fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f953fad..0f765d9 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ install:
clean:
rm -f *~
rm -f modules.d/99base/switch_root
+ rm -f test-*.img
archive: dracut-$(VERSION)-$(GITVERSION).tar.bz2
@@ -30,4 +31,5 @@ rpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2
rm -fr BUILD BUILDROOT
testimage: all
- ./dracut -l -f test.img $(uname -r)
+ ./dracut -l -f test-$(shell uname -r).img $(shell uname -r)
+ @echo wrote test-$(shell uname -r).img