From 759cf2d71663a9d31e705217b8f96accb18c22c3 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Mon, 17 Nov 2014 11:02:25 +0100 Subject: [PATCH 2/3] 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 --- man/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/man/Makefile.am b/man/Makefile.am index 2fe477f..7dec003 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -81,3 +81,20 @@ EXTRA_DIST = \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd + +if OS_IS_WIN32 +SYMLINK_PROGRAM=cd $(DESTDIR)$(bindir) && 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 -- 1.7.9.5