Use $(RM) in Makefiles instead of 'rm -f'
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
3f2fd36ebc
commit
4cb08df553
@ -7,6 +7,7 @@ INSTALL ?= install
|
||||
INSTALL_ELC = $(INSTALL) -m 644
|
||||
prefix ?= $(HOME)
|
||||
emacsdir = $(prefix)/share/emacs/site-lisp
|
||||
RM ?= rm -f
|
||||
|
||||
all: $(ELC)
|
||||
|
||||
@ -17,4 +18,4 @@ install: all
|
||||
%.elc: %.el
|
||||
$(EMACS) -batch -f batch-byte-compile $<
|
||||
|
||||
clean:; rm -f $(ELC)
|
||||
clean:; $(RM) $(ELC)
|
||||
|
Reference in New Issue
Block a user