changeset 26787:58dd979537a5

Create directories for the translated man pages in the install-dirs target.
author diego
date Sun, 18 May 2008 16:43:17 +0000
parents 4c939dffe575
children 0bec9426c86d
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun May 18 16:40:20 2008 +0000
+++ b/Makefile	Sun May 18 16:43:17 2008 +0000
@@ -819,6 +819,7 @@
 	$(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 @@
 		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