ref: 9c7ea86c2726915fe48170117e4ab3f0247b7934
parent: 1c25000a6fd8b53ec0f894232a560392aeb94ee1
author: cbagwell <cbagwell>
date: Thu Jan 18 21:52:54 EST 2007
Install rec/play man pages in correct location
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,7 @@
# man pages are not considered to be sources, so need to add "dist_"
# prefix to ensure they are added to the distribution.
-dist_man_MANS = sox.1 soxexam.7 soxlua.7 libst.3 play.1 rec.1
+dist_man_MANS = sox.1 soxexam.7 soxlua.7 libst.3
dist_pkgdata_DATA = sox.txt soxexam.txt soxlua.txt libst.txt
play.1 rec.1: sox.1
@@ -27,8 +27,8 @@
pdf: sox.pdf soxexam.pdf soxlua.pdf libst.pdf
install-exec-hook:
- cd $(DESTDIR)$(bindir) && $(RM) play.1 && $(LN_S) sox.1 play.1
- cd $(DESTDIR)$(bindir) && $(RM) rec.1 && $(LN_S) sox.1 rec.1
+ cd $(DESTDIR)$(mandir)/man1 && $(RM) play.1 && $(LN_S) sox.1 play.1
+ cd $(DESTDIR)$(mandir)/man1 && $(RM) rec.1 && $(LN_S) sox.1 rec.1
# Automatically update libtool script if it gets out-of-date
libtool: $(LIBTOOL_DEPS)