[MPlayer-dev-eng] man page reorganization

Diego Biurrun diego at biurrun.de
Thu Oct 16 02:22:52 CEST 2003


Hi!

1) I just added a $Revision$ keyword to the top of the English man
   page.  If you are a translator, then please add something like

   .\" synced with revision 1.454

   to your translation so we can easily see if and how outdated it is.

2) I'd like to reorganize the structure of the DOCS directory a bit by
   moving all man pages to a separate man/ subdirectory with
   subdirectories for each language like we have with the xml/
   subdirectory.

DOCS-+--man--+--en
     |       +--fr
     |       +--es
     |       +--pl
     |
     +--xml--+--en
             +--fr
             +--es
             +--pl


Gabu agrees, so unless somebody has some very good objections I will
go through with this during the next days.  The following patch should
take care of the path changes, please shout if something is missing.

Diego


--- configure	14 Oct 2003 12:14:48 -0000	1.785
+++ configure	15 Oct 2003 22:58:17 -0000
@@ -1871,7 +1871,7 @@
 done
 test -z "$_language" && _language=en
 for i in $LANGUAGES ; do
-  if test -f "DOCS/$i/mplayer.1" ; then
+  if test -f "DOCS/man/$i/mplayer.1" ; then
     LANGUAGES=`echo $LANGUAGES | sed "s/$i *//2" | sed 's/ *$//'`
   else
     LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'`
--- Makefile	4 Oct 2003 22:00:01 -0000	1.276
+++ Makefile	15 Oct 2003 22:58:17 -0000
@@ -267,10 +267,10 @@
 	if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi
 	for i in $(LANGUAGES); do \
 		if test "$$i" = en ; then \
-			$(INSTALL) -c -m 644 DOCS/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \
+			$(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/mplayer.1 ; \
 		else \
 			mkdir -p $(MANDIR)/$$i/man1 ; \
-			$(INSTALL) -c -m 644 DOCS/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \
+			$(INSTALL) -c -m 644 DOCS/man/$$i/mplayer.1 $(MANDIR)/$$i/man1/mplayer.1 ; \
 		fi ; \
 	done
 ifeq ($(MENCODER),yes)



More information about the MPlayer-dev-eng mailing list