summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>2010-08-06 11:49:50 +0200
committerHarald Hoyer <harald@redhat.com>2010-08-06 11:53:02 +0200
commit5150d44a7ebd85d7226e1e6fd297b232a982a151 (patch)
treeaaa0214d764dab1dc8d59dd32a5e939beeb17390
parent30cd3616e983465203ff70432eabb63b1596cfc9 (diff)
downloaddracut-5150d44a7ebd85d7226e1e6fd297b232a982a151.tar.gz
dracut-5150d44a7ebd85d7226e1e6fd297b232a982a151.tar.bz2
dracut-5150d44a7ebd85d7226e1e6fd297b232a982a151.zip
Makefile: use $(MAKE) and $(RM) instead of make and rm -f
See: http://www.gnu.org/software/make/manual/make.html#MAKE-Variable
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c177275e..99044d76 100644
--- a/Makefile
+++ b/Makefile
@@ -54,14 +54,14 @@ ifeq (1,${WITH_SWITCH_ROOT})
endif
clean:
- rm -f *~
- rm -f */*~
- rm -f */*/*~
- rm -f modules.d/99base/switch_root
- rm -f test-*.img
- rm -f dracut-*.rpm dracut-*.tar.bz2
- rm -f $(manpages)
- make -C test clean
+ $(RM) *~
+ $(RM) */*~
+ $(RM) */*/*~
+ $(RM) modules.d/99base/switch_root
+ $(RM) test-*.img
+ $(RM) dracut-*.rpm dracut-*.tar.bz2
+ $(RM) $(manpages)
+ $(MAKE) -C test clean
archive: dracut-$(VERSION)-$(GITVERSION).tar.bz2
@@ -91,7 +91,7 @@ check: all
@ret=0;for i in modules.d/99base/init modules.d/*/*.sh; do \
dash -n "$$i" ; ret=$$(($$ret+$$?)); \
done;exit $$ret
- make -C test check
+ $(MAKE) -C test check
testimage: all
./dracut -l -a debug -f test-$(shell uname -r).img $(shell uname -r)