Bug #5118: Use "rm -f" instead of "$(RM)", which isn't always defined.

This commit is contained in:
Eric Anholt 2005-11-22 02:11:00 +00:00
parent 1c8c1179c0
commit 594ca0966e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-11-21 Eric Anholt <anholt@FreeBSD.org>
* hw/xfree86/utils/ioport/Makefile.am:
Bug #5118: Use "rm -f" instead of "$(RM)", which isn't always defined.
2005-11-20 Felix Kuehling <fxkuehl@gmx.de>
* configure.ac:

View File

@ -45,12 +45,12 @@ ioport_PROGRAM_LINKS = inb inw inl outb outw outl
all-local:
@for i in $(ioport_PROGRAM_LINKS); do (set -x; \
$(RM) $$i; $(LN_S) ioport $$i); \
rm -f $$i; $(LN_S) ioport $$i); \
done
install-exec-hook:
@for i in $(ioport_PROGRAM_LINKS); do (set -x; \
$(RM) $(DESTDIR)$(bindir)/$$i; \
rm -f $(DESTDIR)$(bindir)/$$i; \
(cd $(DESTDIR)$(bindir); $(LN_S) ioport $$i)); \
done