]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
testimage target fixes
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:20:05 +0000 (14:20 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:20:05 +0000 (14:20 +0100)
Makefile

index f953fadd60cd747cd362ebbf6382311e0b2b840f..0f765d9054c003cf390ed96229c62e0570e71204 100644 (file)
--- 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