summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2012-08-10 14:42:00 -0700
committerRalph Giles <giles@mozilla.com>2012-08-10 14:42:00 -0700
commit0e232490d8bf3b6e12af4605376ce7ddd2e6a1a4 (patch)
tree32e2b1dc62b6268e8835d717a82b0cbced7486e7
parent8d2e9ade8fe86f0d8f5cf951f8a2034921aaff6b (diff)
downloadopus-0e232490d8bf3b6e12af4605376ce7ddd2e6a1a4.tar.gz
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.
-rw-r--r--doc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e38e8795..ba6f64c7 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -26,7 +26,7 @@ install-data-local:
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: