ref: 0e232490d8bf3b6e12af4605376ce7ddd2e6a1a4
parent: 8d2e9ade8fe86f0d8f5cf951f8a2034921aaff6b
author: Ralph Giles <[email protected]>
date: Fri Aug 10 10:42:00 EDT 2012
Only install opus_*.3 manpages. Fixes 'make distcheck'. We were installing every readable file in man/man3, but only unstalling files matching opus_*.3. Some doxygen versions construct manpage versions of the marked up header files and directory index, which got left on the system after 'make uninstall'. I don't think the 'uninstall' target is widely used, it's often broken and can easily break other software. However, we rely on 'make distcheck' which does verify this issue. Instead, only install the opus_*.3 manpages, which are the core api documentation.
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -26,7 +26,7 @@
done
$(INSTALL) -d $(DESTDIR)$(mandir)/man3
- cd man && find man3 -type f \
+ cd man && find man3 -type f -name opus_*.3 \
-exec $(INSTALL_DATA) \{} $(DESTDIR)$(mandir)/man3 \;
clean-local: