Mercurial > mplayer.hg
comparison Makefile @ 12964:9818bc37b807
language handling simplification
author | diego |
---|---|
date | Thu, 05 Aug 2004 00:14:16 +0000 |
parents | d7e2549b377a |
children | 8639d064d3a1 |
comparison
equal
deleted
inserted
replaced
12963:89c88649a785 | 12964:9818bc37b807 |
---|---|
251 $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG) | 251 $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG) |
252 ifeq ($(GUI),yes) | 252 ifeq ($(GUI),yes) |
253 -ln -sf $(PRG) $(BINDIR)/gmplayer | 253 -ln -sf $(PRG) $(BINDIR)/gmplayer |
254 endif | 254 endif |
255 if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi | 255 if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi |
256 for i in $(LANGUAGES); do \ | 256 for i in $(MAN_LANG); do \ |
257 if test "$$i" = en ; then \ | 257 if test "$$i" = en ; then \ |
258 $(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \ | 258 $(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \ |
259 else \ | 259 else \ |
260 mkdir -p $(MANDIR)/$$i/man1 ; \ | 260 mkdir -p $(MANDIR)/$$i/man1 ; \ |
261 $(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \ | 261 $(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \ |
262 fi ; \ | 262 fi ; \ |
263 done | 263 done |
264 ifeq ($(MENCODER),yes) | 264 ifeq ($(MENCODER),yes) |
265 $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) | 265 $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) |
266 for i in $(LANGUAGES); do \ | 266 for i in $(MAN_LANG); do \ |
267 if test "$$i" = en ; then \ | 267 if test "$$i" = en ; then \ |
268 ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 ; \ | 268 ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 ; \ |
269 else \ | 269 else \ |
270 ln -sf mplayer.1 $(MANDIR)/$$i/man1/mencoder.1 ; \ | 270 ln -sf mplayer.1 $(MANDIR)/$$i/man1/mencoder.1 ; \ |
271 fi ; \ | 271 fi ; \ |