groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff/contrib/groffer ChangeLog Makefile.sub ro...


From: Werner LEMBERG
Subject: [Groff-commit] groff/contrib/groffer ChangeLog Makefile.sub ro...
Date: Tue, 14 Nov 2006 10:37:51 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     06/11/14 10:37:51

Modified files:
        contrib/groffer: ChangeLog Makefile.sub roff2.man 

Log message:
        * Makefile.sub (GROFFER_REST): Add roff2.man.
        (groffer): Use $(INSTALL_DATA) for man pages.
        Don't call `chmod' for $(ROFF2PROGS).
        
        (roff2.man): Typographical fixes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/groffer/ChangeLog?cvsroot=groff&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/groffer/Makefile.sub?cvsroot=groff&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/groffer/roff2.man?cvsroot=groff&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/contrib/groffer/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- ChangeLog   11 Nov 2006 22:18:56 -0000      1.52
+++ ChangeLog   14 Nov 2006 10:37:51 -0000      1.53
@@ -1,3 +1,10 @@
+2006-11-14  Werner LEMBERG  <address@hidden>
+
+       * Makefile.sub (GROFFER_REST): Add roff2.man.
+       (groffer): Use $(INSTALL_DATA) for man pages.
+       Don't call `chmod' for $(ROFF2PROGS).
+       (roff2.man): Typographical fixes.
+
 2006-11-11  Bernd Warken
        ________________________________________________________________
         * release of groffer 1.1.1

Index: Makefile.sub
===================================================================
RCS file: /cvsroot/groff/groff/contrib/groffer/Makefile.sub,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- Makefile.sub        11 Nov 2006 22:18:56 -0000      1.25
+++ Makefile.sub        14 Nov 2006 10:37:51 -0000      1.26
@@ -5,7 +5,7 @@
 # Copyright (C) 2001,2002,2005,2006 Free Software Foundation, Inc.
 # Written by Werner Lemberg <address@hidden> and Bernd Warken.
 
-# Last update: 8 Nov 2006
+# Last update: 14 Nov 2006
 
 # This file is part of `groffer' which is part of `groff'.
 
@@ -32,10 +32,15 @@
 ROFF2MANN=`echo $(ROFF2MODES) | sed 's/[a-z][a-z]*/roff2&.n/g'`
 
 MAN1=groffer.n \
-roff2dvi.n roff2html.n roff2pdf.n roff2ps.n roff2text.n roff2x.n
+     roff2dvi.n \
+     roff2html.n \
+     roff2pdf.n \
+     roff2ps.n \
+     roff2text.n \
+     roff2x.n
 
 CLEANADD=groffer HAVE_PERL HAVE_SHELL groffer.man \
-$(MAN1) $(ROFF2MAN) $(ROFF2PROGS)
+         $(MAN1) $(ROFF2MAN) $(ROFF2PROGS)
 
 # not all make programs have $(RM) predefined.
 RM=rm -f
@@ -47,7 +52,8 @@
              $(srcdir)/perl/perl_test.pl \
              $(srcdir)/perl/split_env.sh
 GROFFER_SHELL=$(srcdir)/shell/groffer2.sh
-GROFFER_REST=$(srcdir)/version.sh \
+GROFFER_REST=$(srcdir)/roff2.man \
+             $(srcdir)/version.sh \
              $(srcdir)/perl/groffer.man \
              $(srcdir)/perl/groffer.pl \
              $(srcdir)/perl/roff2.pl \
@@ -73,7 +79,7 @@
            -e "s|@VERSION@|$(version)$(revision)|g" \
            -e "$(SH_SCRIPT_SED_CMD)" \
            $(srcdir)/perl/groffer.pl >$@; \
-         $(INSTALL_SCRIPT) $(srcdir)/perl/groffer.man groffer.man; \
+         $(INSTALL_DATA) $(srcdir)/perl/groffer.man groffer.man; \
          for f in $(ROFF2PROGS); do \
            $(INSTALL_SCRIPT) $(srcdir)/perl/roff2.pl $$f; \
          done; \
@@ -87,13 +93,12 @@
            -e "s|@VERSION@|$(version)$(revision)|g" \
            -e "$(SH_SCRIPT_SED_CMD)" \
             $(srcdir)/shell/groffer.sh >$@; \
-         $(INSTALL_SCRIPT) $(srcdir)/shell/groffer.man groffer.man; \
+         $(INSTALL_DATA) $(srcdir)/shell/groffer.man groffer.man; \
          for f in $(ROFF2PROGS); do \
            $(INSTALL_SCRIPT) $(srcdir)/shell/roff2.sh $$f; \
          done; \
        fi
        chmod +x $@
-       chmod +x $(ROFF2PROGS)
        for m in $(ROFF2MODES); do \
          cat $(srcdir)/roff2.man \
          | sed 's/@ROFF2MODE@/'"$$m"'/g' > roff2$${m}.man; \

Index: roff2.man
===================================================================
RCS file: /cvsroot/groff/groff/contrib/groffer/roff2.man,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- roff2.man   9 Nov 2006 00:11:30 -0000       1.1
+++ roff2.man   14 Nov 2006 10:37:51 -0000      1.2
@@ -5,6 +5,7 @@
 .SH "SYNOPSIS"
 .\" The .SH was moved to this place in order to appease `apropos'.
 .
+.
 .\" --------------------------------------------------------------------
 .\" Legalize
 .\" --------------------------------------------------------------------
@@ -15,12 +16,16 @@
 Source file position:  <groff_source_top>/contrib/groffer/roff2.man
 Installed position:    $prefix/share/man/man1/address@hidden@.1
 
-Last update: 8 Nov 2006
+Last update: 14 Nov 2006
 ..
+.
+.
 .de author
 This file was written by
 .MTO "" "Bernd Warken" .
 ..
+.
+.
 .de copyleft
 Copyright (C) 2006 Free Software Foundation, Inc.
 .
@@ -39,7 +44,7 @@
 .nh
 .BR "Free Software Foundation" ,
 .hy
-either version 2, or (at your option) any later version.
+either version\~2, or (at your option) any later version.
 .
 .P
 You should have received a copy of the \f[CR]GNU General Public
@@ -78,7 +83,7 @@
 .  ftr CB CW
 .\}
 .
-.ds Ellipsis "\&.\|.\|.\""
+.ds Ellipsis "\&.\|.\|.\&\""
 .
 .
 .\" --------------------------------------------------------------------
@@ -87,6 +92,8 @@
 .\" Ignore all arguments like a comment, even after a .eo call.
 .de c
 ..
+.
+.
 .c --------------------------------------------------------------------
 .c .File_name  (<path_name>)
 .c
@@ -95,6 +102,8 @@
 .de File_name
 .  Header_CB \\$@
 ..
+.
+.
 .c --------------------------------------------------------------------
 .c .Header_CB  (<path_name>)
 .c
@@ -105,10 +114,13 @@
 .  Text \f[CB]\\$1\f[]\\$2
 .  hy
 ..
+.
+.
 .c --------------------------------------------------------------------
-.c static register for inter-macro communication in `.Synopsis'*
+.c static register for inter-macro communication in `.Synopsis'.
 .nr roff2:Synopsis.level 0
 .
+.
 .c --------------------------------------------------------------------
 .c .Synopsis  ()
 .c
@@ -128,6 +140,8 @@
 .  rm @1
 .  nr roff2:Synopsis.level +1\"        marker for ./Synopsis
 ..
+.
+.
 .c  --------------------------------------------------------------------
 .c ./Synopsis  ()
 .c
@@ -142,6 +156,8 @@
 .  hy
 .  nr roff2:Synopsis.level -1
 ..
+.
+.
 .c  --------------------------------------------------------------------
 .c .Text  (<text>...)
 .c
@@ -215,7 +231,7 @@
 .BR \%groffer .
 So they are either the names of existing, readable files or
 .B \-
-for standard input or the name of a man page or a
+for standard input, or the name of a man page or a
 .BR \%groffer (@MAN1EXT@)
 man page search pattern.
 .
@@ -251,46 +267,59 @@
 .I \%roff
 input.
 .
-.TP
-.BR \%roff2dvi (@MAN1EXT@)
+.if !'@ROFF2MODE@'dvi' \{\
+.  TP
+.  BR \%roff2dvi (@MAN1EXT@)
 is for
-.I dvi
+.  I dvi
 mode.
+.\}
 .
-.TP
-.BR \%roff2html (@MAN1EXT@)
+.if !'@ROFF2MODE@'html' \{\
+.  TP
+.  BR \%roff2html (@MAN1EXT@)
 generates
-.I html
+.  I html
 output.
+.\}
 .
-.TP
-.BR \%roff2pdf (@MAN1EXT@)
+.if !'@ROFF2MODE@'pdf' \{\
+.  TP
+.  BR \%roff2pdf (@MAN1EXT@)
 outputs
-.I pdf
+.  I pdf
 mode.
+.\}
 .
-.TP
-.BR \%roff2ps (@MAN1EXT@)
+.if !'@ROFF2MODE@'ps' \{\
+.  TP
+.  BR \%roff2ps (@MAN1EXT@)
 prints
-.I \%PostScript
+.  I \%PostScript
 format to standard output.
-.TP
-.BR \%roff2text (@MAN1EXT@)
+.\}
+.
+.if !'@ROFF2MODE@'text' \{\
+.  TP
+.  BR \%roff2text (@MAN1EXT@)
 generates text output in the
-.B groff
+.  B groff
 device
-.IR latin1 .
+.  IR latin1 .
+.\}
 .
-.TP
-.BR \%roff2x (@MAN1EXT@)
+.if !'@ROFF2MODE@'x' \{\
+.  TP
+.  BR \%roff2x (@MAN1EXT@)
 prints the output in the
-.B groff
+.  B groff
 device
-.B X
+.  B X
 that is suitable for programs like
-.BR \%gxditview (@MAN1EXT@)
+.  BR \%gxditview (@MAN1EXT@)
 or
-.BR \%xditview (1).
+.  BR \%xditview (1).
+.\}
 .
 .
 .\" --------------------------------------------------------------------
@@ -299,12 +328,18 @@
 .
 .BR \%groff (@MAN1EXT@),
 .BR \%groffer (@MAN1EXT@),
-.BR \%roff2dvi (@MAN1EXT@),
-.BR \%roff2html (@MAN1EXT@),
-.BR \%roff2pdf (@MAN1EXT@),
-.BR \%roff2ps (@MAN1EXT@),
-.BR \%roff2text (@MAN1EXT@),
-.BR \%roff2x (@MAN1EXT@),
+.if !'@ROFF2MODE@'dvi' \
+.  BR \%roff2dvi (@MAN1EXT@),
+.if !'@ROFF2MODE@'html' \
+.  BR \%roff2html (@MAN1EXT@),
+.if !'@ROFF2MODE@'pdf' \
+.  BR \%roff2pdf (@MAN1EXT@),
+.if !'@ROFF2MODE@'ps' \
+.  BR \%roff2ps (@MAN1EXT@),
+.if !'@ROFF2MODE@'text' \
+.  BR \%roff2text (@MAN1EXT@),
+.if !'@ROFF2MODE@'x' \
+.  BR \%roff2x (@MAN1EXT@),
 .BR \%gxditview (@MAN1EXT@).
 .
 .




reply via email to

[Prev in Thread] Current Thread [Next in Thread]