changeset 20007:1699b4b6707e

Work around ln limitations on MinGW.
author diego
date Sun, 01 Oct 2006 17:00:20 +0000
parents bdd8965d6e48
children fa122b7c71c6
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Oct 01 14:17:45 2006 +0000
+++ b/Makefile	Sun Oct 01 17:00:20 2006 +0000
@@ -429,9 +429,9 @@
 	$(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
 	for i in $(MAN_LANG); do \
 		if test "$$i" = en ; then \
-			ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 ; \
+			cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1 ; \
 		else \
-			ln -sf mplayer.1 $(MANDIR)/$$i/man1/mencoder.1 ; \
+			cd $(MANDIR)/man1/$$i && ln -sf mplayer.1 mencoder.1 ; \
 		fi ; \
 	done
 endif