summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-11 20:59:41 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-11 20:59:41 +0100
commit78f5a73d94ee164ba368b02c0bc64c8f04d4fe7c (patch)
treee241e24475260d70a06edb95a3055da7f18f7a8b
parentdoc: create symbolic links for weechat-headless man page in autotools (diff)
downloadweechat-78f5a73d94ee164ba368b02c0bc64c8f04d4fe7c.tar.xz
weechat-78f5a73d94ee164ba368b02c0bc64c8f04d4fe7c.zip
doc: replace "rm -f" by "$(RM)" in makefiles
-rw-r--r--doc/cs/Makefile.am2
-rw-r--r--doc/de/Makefile.am2
-rw-r--r--doc/en/Makefile.am2
-rw-r--r--doc/es/Makefile.am2
-rw-r--r--doc/fr/Makefile.am2
-rw-r--r--doc/it/Makefile.am2
-rw-r--r--doc/ja/Makefile.am2
-rw-r--r--doc/pl/Makefile.am2
-rw-r--r--doc/ru/Makefile.am2
-rw-r--r--src/gui/curses/normal/Makefile.am4
10 files changed, 11 insertions, 11 deletions
diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am
index ca4f9e091..0da87da9c 100644
--- a/doc/cs/Makefile.am
+++ b/doc/cs/Makefile.am
@@ -76,4 +76,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index 4b6f913a6..53b83bc63 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -100,4 +100,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index f446005b0..e411c528d 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -119,4 +119,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am
index c8597e8b5..75a6ccb98 100644
--- a/doc/es/Makefile.am
+++ b/doc/es/Makefile.am
@@ -68,4 +68,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat_*.html
+ -$(RM) weechat_*.html
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index c3e454ec6..f403042d3 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -119,4 +119,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index 9c888f91b..41a9db980 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -106,4 +106,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index 8a8238da3..b68f26e3d 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -118,4 +118,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am
index bae271a33..880186ca5 100644
--- a/doc/pl/Makefile.am
+++ b/doc/pl/Makefile.am
@@ -100,4 +100,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index 47f8676f9..ea41a9a00 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -74,4 +74,4 @@ uninstall-doc:
# clean
clean-local:
- -rm -f weechat.1 weechat_*.html
+ -$(RM) weechat.1 weechat_*.html
diff --git a/src/gui/curses/normal/Makefile.am b/src/gui/curses/normal/Makefile.am
index a6a13b231..2e9127266 100644
--- a/src/gui/curses/normal/Makefile.am
+++ b/src/gui/curses/normal/Makefile.am
@@ -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))