mirror of https://github.com/mpv-player/mpv
Install the required man page directories in the man page targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26821 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6a8693845c
commit
74c67fee1f
4
Makefile
4
Makefile
|
@ -818,8 +818,6 @@ install: install-dirs $(INSTALL_TARGETS)
|
|||
install-dirs:
|
||||
$(INSTALL) -d $(BINDIR)
|
||||
$(INSTALL) -d $(DATADIR)
|
||||
$(INSTALL) -d $(MANDIR)/man1
|
||||
$(INSTALL) -d $(foreach lang,$(MAN_LANG),$(MANDIR)/$(lang)/man1)
|
||||
$(INSTALL) -d $(CONFDIR)
|
||||
|
||||
install-%: %$(EXESUF)
|
||||
|
@ -829,6 +827,7 @@ install-mplayer-man: $(foreach lang,$(MAN_LANG_ALL),install-mplayer-man-$(lang))
|
|||
install-mencoder-man: $(foreach lang,$(MAN_LANG_ALL),install-mencoder-man-$(lang))
|
||||
|
||||
install-mplayer-man-en:
|
||||
$(INSTALL) -d $(MANDIR)/man1
|
||||
$(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/
|
||||
|
||||
install-mencoder-man-en: install-mplayer-man-en
|
||||
|
@ -836,6 +835,7 @@ install-mencoder-man-en: install-mplayer-man-en
|
|||
|
||||
define MPLAYER_MAN_RULE
|
||||
install-mplayer-man-$(lang):
|
||||
$(INSTALL) -d $(MANDIR)/$(lang)/man1
|
||||
$(INSTALL) -c -m 644 DOCS/man/$(lang)/mplayer.1 $(MANDIR)/$(lang)/man1/
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue