summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Meerwald <p.meerwald@bct-electronic.com>2014-11-17 11:02:25 +0100
committerDavid Henningsson <david.henningsson@canonical.com>2015-02-12 20:36:58 +0100
commit0f54a91718f46462c44cc58e9eadeefccbc142f2 (patch)
tree621f75f2a903e81a9f73d61039682a01fb85732e /man
parentfd263f048b44ad7fb2c65ea435ab4182f63b4021 (diff)
downloadpulseaudio-0f54a91718f46462c44cc58e9eadeefccbc142f2.tar.gz
man: Install man page symlinks to pacat for paplay, parec, parecord, pamon
see https://bugs.freedesktop.org/show_bug.cgi?id=68135 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index bead05c01..d4f4edbc9 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -59,6 +59,22 @@ CLEANFILES = \
%: %.xml Makefile
$(AM_V_GEN) perl $(srcdir)/xmltoman $< > $@ || rm -f $@
+if OS_IS_WIN32
+SYMLINK_PROGRAM=cd $(DESTDIR)$(man1dir) && cp
+else
+SYMLINK_PROGRAM=ln -sf
+endif
+install-data-hook:
+ $(SYMLINK_PROGRAM) pacat.1 $(DESTDIR)$(man1dir)/paplay.1
+ $(SYMLINK_PROGRAM) pacat.1 $(DESTDIR)$(man1dir)/parec.1
+ $(SYMLINK_PROGRAM) pacat.1 $(DESTDIR)$(man1dir)/parecord.1
+ $(SYMLINK_PROGRAM) pacat.1 $(DESTDIR)$(man1dir)/pamon.1
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(man1dir)/paplay.1
+ rm -f $(DESTDIR)$(man1dir)/parec.1
+ rm -f $(DESTDIR)$(man1dir)/parecord.1
+ rm -f $(DESTDIR)$(man1dir)/pamon.1
endif
EXTRA_DIST = \