summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
9 files changed, 18 insertions, 0 deletions
diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am
index 3155f70fc..ca4f9e091 100644
--- a/doc/cs/Makefile.am
+++ b/doc/cs/Makefile.am
@@ -54,6 +54,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/cs/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/cs/man1/
+ (cd '$(DESTDIR)$(mandir)/cs/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -65,6 +66,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/cs/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/cs/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/cs/man1
uninstall-doc:
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index 89726579c..4b6f913a6 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -78,6 +78,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/de/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
+ (cd '$(DESTDIR)$(mandir)/de/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -89,6 +90,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/de/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/de/man1
uninstall-doc:
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index e331b19aa..f446005b0 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -97,6 +97,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/man1/
+ (cd '$(DESTDIR)$(mandir)/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -108,6 +109,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/man1
uninstall-doc:
diff --git a/doc/es/Makefile.am b/doc/es/Makefile.am
index d6231d34d..c8597e8b5 100644
--- a/doc/es/Makefile.am
+++ b/doc/es/Makefile.am
@@ -46,6 +46,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/es/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/es/man1/
+ (cd '$(DESTDIR)$(mandir)/es/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -57,6 +58,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/es/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/es/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/es/man1
uninstall-doc:
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index ed667ebc0..c3e454ec6 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -97,6 +97,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/fr/man1/
+ (cd '$(DESTDIR)$(mandir)/fr/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -108,6 +109,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/fr/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/fr/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/fr/man1
uninstall-doc:
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index f2d84ef94..9c888f91b 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -84,6 +84,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/it/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/it/man1/
+ (cd '$(DESTDIR)$(mandir)/it/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -95,6 +96,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/it/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/it/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/it/man1
uninstall-doc:
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index 33be22554..8a8238da3 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -96,6 +96,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/ja/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/ja/man1/
+ (cd '$(DESTDIR)$(mandir)/ja/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -107,6 +108,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/ja/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/ja/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/ja/man1
uninstall-doc:
diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am
index f064c000e..bae271a33 100644
--- a/doc/pl/Makefile.am
+++ b/doc/pl/Makefile.am
@@ -78,6 +78,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/pl/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/pl/man1/
+ (cd '$(DESTDIR)$(mandir)/pl/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -89,6 +90,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/pl/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/pl/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/pl/man1
uninstall-doc:
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index 32be4f2c0..47f8676f9 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -52,6 +52,7 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/ru/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/ru/man1/
+ (cd '$(DESTDIR)$(mandir)/ru/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -63,6 +64,7 @@ uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/ru/man1/weechat.1
+ $(RM) $(DESTDIR)$(mandir)/ru/man1/weechat-headless.1
-rmdir $(DESTDIR)$(mandir)/ru/man1
uninstall-doc: