From 82ffe2cbfd83ca8b5723f4ac1c35e4b9da599106 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 15 Aug 2011 13:31:34 -0400 Subject: build-sys: always use $(RM) instead of rm -f These are equivalent. Use the autoconf macro for consistency. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- scripts/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/Makefile.am') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index b5767ac6..802b8f4e 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -63,7 +63,7 @@ edit = sed \ # third 'test' line- make sure one of the two checks succeeded $(OURSCRIPTS): Makefile @echo ' ' GEN $@; - @rm -f $@ + @$(RM) $@ @test -f $(srcdir)/$@.sh.in && m4 -P -I $(srcdir) $(srcdir)/$@.sh.in | $(edit) >$@ @chmod +x $@ @chmod a-w $@ @@ -96,11 +96,11 @@ repo-add: \ $(srcdir)/library/output_format.sh repo-remove: $(srcdir)/repo-add.sh.in - rm -f repo-remove + $(RM) repo-remove $(LN_S) repo-add repo-remove repo-elephant: $(srcdir)/repo-add.sh.in - rm -f repo-elephant + $(RM) repo-elephant $(LN_S) repo-add repo-elephant install-data-hook: -- cgit v1.2.3-70-g09d2