[MPlayer-dev-eng] [PATCH] installing DOCS/ during make install

seru seru at gmx.net
Sun Dec 22 01:02:46 CET 2002


El sáb, 21 de dic de 2002, a las 01:28:49 +0100, seru dijo:
> El vie, 20 de dic de 2002, a las 07:40:04 +0100, Alex Beregszaszi dijo:
> > Hi,
> > 
> > yesterday we've discussed the $subject on #mplayer @ freenode.
> > Mostly Fire and I have done the attached patch.
> Let me introduce myself, I'm Fire from Spain :)
> > 
> > But there are questions remaining:
> >  * should DOCS/tech/ installed too?
> Not interesting for users :/
> >  * change the DOCS/{translations}/ to 2-char statecodes?
> I'd use locales (which are sometimes be >4-char, so no necessarily 2-char) so you can add them as a config switch, see below.
> >  * merge back the non-developer docs of tech/ into the main DOCS?
> I'll have a look at it, which docs you mean exactly?
> tech/TODO:- merge tech/vop.txt and tech/libavc-options.txt into the man page
> <al3x> the tech/ contains for example swscaler_filters.txt, lavc-options.txt and other interesting docs
> >  * install the translated DOCS depending on the configure --language
> >    option?
> I would create another switch, like --docs-locale=en,hu,de,fr; which would install english, hungrian, german and french html help.
> 
> >  * or install the whole DOCS/ directory?
> > 
> > Awaiting your suggestions!
> I would suggest creating new subdirs in DOCS/ :
> DOCS/html
> DOCS/html/en, for the english standard docs. I'd also suggest renaming documentation.html to index.html
> DOCS/html/{fr,hu,de,....} for translated ones
> DOCS/man, for the manpage (mplayer.1 now is in DOCS itself)
> DOCS/tech (not to be installed, only for developers)
> And move MAINTAINERS, TODO, wishlist to main directory and rename them to more standard names if needed (ChangeLog, AUTHORS, README are in main already).
> 

People, please say if you agree or disagree with all this as we would like to put this into the 0.90 release!

Forget to say so:
DOCS/man
would have some subdirectories:
DOCS/man/{en,fr,hu,de,...} for translated manpages


> (btw) And changing
> $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
> into 
> $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/$(LANG)/man1/mplayer.1
Naturally, in `$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/$(LANG)/man1/mplayer.1`, $(LANG) would not be lang, it would be LINGUAS or something.
> Nico's idea :) see http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-December/013551.html
> > 
> > P.S.: dunno how the debian/ works, but it should do the same
> It should work just fine, maybe this line should be changed in debian/rules:
>         $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer  MANDIR=$(prefix)/usr/share/man  install
> into
>         $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer  DOCSDIR=($prefix)/doc/mplayer MANDIR=$(prefix)/usr/share/man  install
> > 
> > -- 
> > Alex Beregszaszi  <alex at naxine.org>
> > (MPlayer Core Developer -- http://www.mplayerhq.hu/)
> 
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list