[MPlayer-cvslog] r26819 - trunk/Makefile

diego subversion at mplayerhq.hu
Sun May 18 18:43:18 CEST 2008


Author: diego
Date: Sun May 18 18:43:17 2008
New Revision: 26819

Log:
Create directories for the translated man pages in the install-dirs target.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Sun May 18 18:43:17 2008
@@ -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



More information about the MPlayer-cvslog mailing list