doc: replace "rm -f" by "$(RM)" in makefiles

This commit is contained in:
Sébastien Helleu 2018-03-11 20:59:41 +01:00
parent 3dacb43f0c
commit 78f5a73d94
10 changed files with 11 additions and 11 deletions

View File

@ -76,4 +76,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -100,4 +100,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -119,4 +119,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -68,4 +68,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat_*.html
-$(RM) weechat_*.html

View File

@ -119,4 +119,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -106,4 +106,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -118,4 +118,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -100,4 +100,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -74,4 +74,4 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1 weechat_*.html
-$(RM) weechat.1 weechat_*.html

View File

@ -55,8 +55,8 @@ EXTRA_DIST = CMakeLists.txt
# This link is created for compatibility with old versions on /upgrade.
# It may be removed in future.
install-exec-hook:
(cd '$(DESTDIR)$(bindir)' && rm -f weechat-curses$(EXEEXT) && $(LN_S) weechat weechat-curses$(EXEEXT))
(cd '$(DESTDIR)$(bindir)' && $(RM) weechat-curses$(EXEEXT) && $(LN_S) weechat weechat-curses$(EXEEXT))
# Remove symbolic link on uninstall
uninstall-hook:
(cd '$(DESTDIR)$(bindir)' && rm -f weechat-curses$(EXEEXT))
(cd '$(DESTDIR)$(bindir)' && $(RM) weechat-curses$(EXEEXT))