changeset 26789:49eb016d1219

Install the required man page directories in the man page targets.
author diego
date Sun, 18 May 2008 17:05:55 +0000
parents 0bec9426c86d
children abfadf6ba341
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun May 18 17:05:16 2008 +0000
+++ b/Makefile	Sun May 18 17:05:55 2008 +0000
@@ -818,8 +818,6 @@
 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-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 @@
 
 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