summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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: