summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-18 16:43:17 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-18 16:43:17 +0000
commit2ac55e233184def4218c2070ced7eab4fd2004bf (patch)
tree433b849981b8fcefe5c266920df0137d0a52968d /Makefile
parent32fc1074a6843511e14927599b268184964afca8 (diff)
downloadmpv-2ac55e233184def4218c2070ced7eab4fd2004bf.tar.bz2
mpv-2ac55e233184def4218c2070ced7eab4fd2004bf.tar.xz
Create directories for the translated man pages in the install-dirs target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26819 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b26d784e43..ad805c42fe 100644
--- a/Makefile
+++ b/Makefile
@@ -819,6 +819,7 @@ 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,7 +830,6 @@ install-mplayer-man:
if test "$$lang" = en ; then \
$(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/ ; \
else \
- $(INSTALL) -d $(MANDIR)/$$lang/man1 ; \
$(INSTALL) -c -m 644 DOCS/man/$$lang/mplayer.1 $(MANDIR)/$$lang/man1/ ; \
fi ; \
done