summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-15 13:31:34 -0400
committerDan McGee <dan@archlinux.org>2011-08-15 13:05:27 -0500
commit82ffe2cbfd83ca8b5723f4ac1c35e4b9da599106 (patch)
tree074dc114bf5dd75bf65daf5daf49c9e8d6718561 /scripts
parent1741b5cc30119631940f7b471395765fb6fa7b0f (diff)
downloadpacman-82ffe2cbfd83ca8b5723f4ac1c35e4b9da599106.tar.xz
build-sys: always use $(RM) instead of rm -f
These are equivalent. Use the autoconf macro for consistency. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am6
1 files changed, 3 insertions, 3 deletions
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: