[MPlayer-cvslog] r26821 - trunk/Makefile

diego subversion at mplayerhq.hu
Sun May 18 19:05:55 CEST 2008


Author: diego
Date: Sun May 18 19:05:55 2008
New Revision: 26821

Log:
Install the required man page directories in the man page targets.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Sun May 18 19:05:55 2008
@@ -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,$(MA
 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
 
 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
 



More information about the MPlayer-cvslog mailing list