# HG changeset patch # User diego # Date 1211130355 0 # Node ID 49eb016d1219fe7d3df0537835f1677ea3df3504 # Parent 0bec9426c86df76e332471426b020f4bc0ff8320 Install the required man page directories in the man page targets. diff -r 0bec9426c86d -r 49eb016d1219 Makefile --- 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