diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-05-18 15:10:21 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-05-19 19:26:25 +0200 |
commit | be3f4c13b6bbac135629268d84928bc513fe9511 (patch) | |
tree | 46b690beabb7d30a9025278ce70f1a530df82015 /doc | |
parent | 90cb081f88e242bb208d7a25bf3ba9c797990caa (diff) | |
download | ffmpeg-be3f4c13b6bbac135629268d84928bc513fe9511.tar.gz |
doc/Makefile: install .3 man pages to man3 subdir
Fix trac ticket #2585.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile index 1c1d9cdd45..cd24b8c597 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -14,7 +14,9 @@ COMPONENTS-$(CONFIG_AVFORMAT) += ffmpeg-formats ffmpeg-protocols COMPONENTS-$(CONFIG_AVDEVICE) += ffmpeg-devices COMPONENTS-$(CONFIG_AVFILTER) += ffmpeg-filters -MANPAGES = $(PROGS-yes:%=doc/%.1) $(PROGS-yes:%=doc/%-all.1) $(COMPONENTS-yes:%=doc/%.1) $(LIBRARIES-yes:%=doc/%.3) +MANPAGES1 = $(PROGS-yes:%=doc/%.1) $(PROGS-yes:%=doc/%-all.1) $(COMPONENTS-yes:%=doc/%.1) +MANPAGES3 = $(LIBRARIES-yes:%=doc/%.3) +MANPAGES = $(MANPAGES1) $(MANPAGES3) PODPAGES = $(PROGS-yes:%=doc/%.pod) $(PROGS-yes:%=doc/%-all.pod) $(COMPONENTS-yes:%=doc/%.pod) $(LIBRARIES-yes:%=doc/%.pod) HTMLPAGES = $(PROGS-yes:%=doc/%.html) $(PROGS-yes:%=doc/%-all.html) $(COMPONENTS-yes:%=doc/%.html) $(LIBRARIES-yes:%=doc/%.html) \ doc/developer.html \ @@ -93,13 +95,16 @@ install-progs-$(CONFIG_DOC): install-man install-man: $(MANPAGES) $(Q)mkdir -p "$(MANDIR)/man1" - $(INSTALL) -m 644 $(MANPAGES) "$(MANDIR)/man1" + $(INSTALL) -m 644 $(MANPAGES1) "$(MANDIR)/man1" + $(Q)mkdir -p "$(MANDIR)/man3" + $(INSTALL) -m 644 $(MANPAGES3) "$(MANDIR)/man3" endif uninstall: uninstall-man uninstall-man: - $(RM) $(addprefix "$(MANDIR)/man1/",$(MANPAGES)) + $(RM) $(addprefix "$(MANDIR)/man1/",$(MANPAGES1)) + $(RM) $(addprefix "$(MANDIR)/man3/",$(MANPAGES3)) clean:: docclean |