[mplayer-dev-eng] install localized manpages + [PATCH]
Gabucino
gabucino at mplayerhq.hu
Sun Feb 16 09:15:42 CET 2003
Ok, I've made a patch. It Works For Me(tm)
It creates the following:
/usr/share/man/man1/mplayer.1.gz
/usr/share/man/de/man1/mplayer.1.gz
/usr/share/man/fr/man1/mplayer.1.gz
/usr/share/man/hu/man1/mplayer.1.gz
/usr/share/man/pl/man1/mplayer.1.gz
/usr/share/man/de/man1/mencoder.1.gz
/usr/share/man/fr/man1/mencoder.1.gz
/usr/share/man/hu/man1/mencoder.1.gz
/usr/share/man/pl/man1/mencoder.1.gz
/usr/share/man/man1/gmplayer.1.gz
This is the GNUish way AFAIK, though you may argue about whether it's "optimal"
or not. I think it's good.
Question: when is gmplayer.1 created?
Anyway, if there are no objections, I'll commit this in an hour.
--
Gabucino
MPlayer Core Team
- Debian? - "This is our project and we can do whatever we want with it."
Michael Stone <mstone#debian.org>
-------------- next part --------------
--- main/Makefile Sun Feb 16 04:56:34 2003
+++ /home/gabucino/mplayer/src/Makefile Sun Feb 16 09:11:58 2003
@@ -246,10 +246,11 @@
-ln -sf $(PRG) $(BINDIR)/gmplayer
endif
if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi
- $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
+ $(INSTALL) -c -m 644 DOCS/en/mplayer.1 $(MANDIR)/man1/mplayer.1
+ @for LCLMANS in de fr hu pl; do $(INSTALL) -D -c -m 644 DOCS/$$LCLMANS/mplayer.1 $(MANDIR)/$$LCLMANS/man1/mplayer.1; done
ifeq ($(MENCODER),yes)
$(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
- -ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1
+ @for LCLMANS in de fr hu pl; do ln -sf mplayer.1 $(MANDIR)/$$LCLMANS/man1/mencoder.1; done
endif
@if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi
@if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030216/32863d3f/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list