summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-11 20:59:13 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-11 20:59:13 +0100
commit3dacb43f0ce39d1c8eacd6546dd23ccad5cbcdc6 (patch)
tree7099ed5ae252fff39104b3e21ba3176a58ab4655 /doc/en
parent5d6eb3f01058f39edbca84c6aac56e8cd8d16f9a (diff)
downloadweechat-3dacb43f0ce39d1c8eacd6546dd23ccad5cbcdc6.zip
doc: create symbolic links for weechat-headless man page in autotools
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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: