aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-18 17:05:55 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-18 17:05:55 +0000
commit74c67fee1fb36da630db2a78fd9798002699f46b (patch)
treebd6cf2ae2adf9dacfe5a5e092c1f9912528f87c4 /Makefile
parent6a8693845ccd46efe00d6bb45184593437e2881a (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 74aa3c1376..8e52a97ca7 100644
--- a/Makefile
+++ b/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