Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/groff - remove generated files



details:   https://anonhg.NetBSD.org/src/rev/51d81f41b948
branches:  trunk
changeset: 813057:51d81f41b948
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 14 02:30:18 2016 +0000

description:
- remove generated files
- remove libdriver dependencies where they are not needed
- add bin to Makefile

diffstat:

 external/gpl2/groff/Makefile                         |     4 +-
 external/gpl2/groff/Makefile.inc                     |     4 +-
 external/gpl2/groff/bin/eqn/Makefile                 |     3 +-
 external/gpl2/groff/bin/grn/Makefile                 |     3 +-
 external/gpl2/groff/bin/groff/Makefile               |     3 +-
 external/gpl2/groff/bin/hpftodit/Makefile            |     3 +-
 external/gpl2/groff/bin/html/Makefile                |     3 +-
 external/gpl2/groff/bin/pic/Makefile                 |     3 +-
 external/gpl2/groff/bin/refer/Makefile               |     3 +-
 external/gpl2/groff/bin/soelim/Makefile              |     3 +-
 external/gpl2/groff/bin/tbl/Makefile                 |     3 +-
 external/gpl2/groff/bin/troff/Makefile               |     3 +-
 external/gpl2/groff/dist/src/preproc/pic/pic.cpp     |  5689 ------------------
 external/gpl2/groff/dist/src/preproc/refer/label.cpp |  1622 -----
 14 files changed, 25 insertions(+), 7324 deletions(-)

diffs (truncated from 7495 to 300 lines):

diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/Makefile
--- a/external/gpl2/groff/Makefile      Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/Makefile      Thu Jan 14 02:30:18 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:55 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/Makefile,v 2.11 2003/05/02 00:55:52 ru Exp $
 
-SUBDIR=                lib .WAIT doc font man tmac devices
+SUBDIR=                lib .WAIT bin doc font man tmac devices
 
 .include <bsd.subdir.mk>
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/Makefile.inc
--- a/external/gpl2/groff/Makefile.inc  Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/Makefile.inc  Thu Jan 14 02:30:18 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2016/01/13 19:01:55 christos Exp $
+# $NetBSD: Makefile.inc,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/Makefile.inc,v 2.7 2003/05/01 13:22:18 ru Exp $
 
@@ -79,7 +79,9 @@
 GROFF_DIST=    ${DIST}/dist
 
 PROGDPLIBS+= bib ${DIST}/lib/libbib
+.if !defined(NOLIBDRIVER)
 PROGDPLIBS+= driver ${DIST}/lib/libdriver
+.endif
 PROGDPLIBS+= groff ${DIST}/lib/libgroff
 
 CPPFLAGS+=     -DHAVE_CONFIG_H
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/eqn/Makefile
--- a/external/gpl2/groff/bin/eqn/Makefile      Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/eqn/Makefile      Thu Jan 14 02:30:18 2016 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/eqn/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
 
 DIST_SUBDIR=   src/preproc/eqn
 GROFFYSRCS=    eqn.y
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/grn/Makefile
--- a/external/gpl2/groff/bin/grn/Makefile      Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/grn/Makefile      Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/grn/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
 
 DIST_SUBDIR=   src/preproc/grn
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/groff/Makefile
--- a/external/gpl2/groff/bin/groff/Makefile    Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/groff/Makefile    Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/roff/groff/Makefile,v 1.7 2003/05/01 13:22:20 ru Exp $
 
 DIST_SUBDIR=   src/roff/groff
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/hpftodit/Makefile
--- a/external/gpl2/groff/bin/hpftodit/Makefile Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/hpftodit/Makefile Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/utils/hpftodit/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
 
 DIST_SUBDIR=   src/utils/hpftodit
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/html/Makefile
--- a/external/gpl2/groff/bin/html/Makefile     Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/html/Makefile     Thu Jan 14 02:30:18 2016 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:56 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/html/Makefile,v 1.5 2003/05/01 13:22:20 ru Exp $
 
 NOMAN=         YES
 DIST_SUBDIR=   src/preproc/html
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/pic/Makefile
--- a/external/gpl2/groff/bin/pic/Makefile      Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/pic/Makefile      Thu Jan 14 02:30:18 2016 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/pic/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
 
 GROFFYSRCS=    pic.y
 DIST_SUBDIR=   src/preproc/pic
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/refer/Makefile
--- a/external/gpl2/groff/bin/refer/Makefile    Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/refer/Makefile    Thu Jan 14 02:30:18 2016 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/refer/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
 
 GROFFYSRCS=    label.y
 DIST_SUBDIR=   src/preproc/refer
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/soelim/Makefile
--- a/external/gpl2/groff/bin/soelim/Makefile   Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/soelim/Makefile   Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/soelim/Makefile,v 1.3 2003/05/01 13:22:20 ru Exp $
 
 DIST_SUBDIR=   src/preproc/soelim
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/tbl/Makefile
--- a/external/gpl2/groff/bin/tbl/Makefile      Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/tbl/Makefile      Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/preproc/tbl/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
 
 DIST_SUBDIR=   src/preproc/tbl
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/bin/troff/Makefile
--- a/external/gpl2/groff/bin/troff/Makefile    Thu Jan 14 01:13:26 2016 +0000
+++ b/external/gpl2/groff/bin/troff/Makefile    Thu Jan 14 02:30:18 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/01/13 19:01:57 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/14 02:30:18 christos Exp $
 
 # $FreeBSD: src/gnu/usr.bin/groff/src/roff/troff/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
 
 DIST_SUBDIR=   src/roff/troff
+NOLIBDRIVER=
 
 .include <bsd.init.mk>
 
diff -r c9e5c05eaa97 -r 51d81f41b948 external/gpl2/groff/dist/src/preproc/pic/pic.cpp
--- a/external/gpl2/groff/dist/src/preproc/pic/pic.cpp  Thu Jan 14 01:13:26 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5689 +0,0 @@
-/*     $NetBSD: pic.cpp,v 1.1.1.1 2016/01/13 18:41:49 christos Exp $   */
-
-#ifndef lint
-static char yysccsid[] = "@(#)yaccpar  1.9 (Berkeley) 02/21/93 (groff)";
-#endif
-#define YYBYACC 1
-#define YYMAJOR 1
-#define YYMINOR 9
-#define yyclearin (yychar=(-1))
-#define yyerrok (yyerrflag=0)
-#define YYRECOVERING (yyerrflag!=0)
-#define YYPREFIX "yy"
-#line 21 "pic.y"
-#include "pic.h"
-#include "ptable.h"
-#include "object.h"
-
-extern int delim_flag;
-extern void copy_rest_thru(const char *, const char *);
-extern void copy_file_thru(const char *, const char *, const char *);
-extern void push_body(const char *);
-extern void do_for(char *var, double from, double to,
-                  int by_is_multiplicative, double by, char *body);
-extern void do_lookahead();
-
-/* Maximum number of characters produced by printf("%g") */
-#define GDIGITS 14
-
-int yylex();
-void yyerror(const char *);
-
-void reset(const char *nm);
-void reset_all();
-
-place *lookup_label(const char *);
-void define_label(const char *label, const place *pl);
-
-direction current_direction;
-position current_position;
-
-implement_ptable(place)
-
-PTABLE(place) top_table;
-
-PTABLE(place) *current_table = &top_table;
-saved_state *current_saved_state = 0;
-
-object_list olist;
-
-const char *ordinal_postfix(int n);
-const char *object_type_name(object_type type);
-char *format_number(const char *form, double n);
-char *do_sprintf(const char *form, const double *v, int nv);
-
-#line 65 "pic.y"
-typedef union {
-       char *str;
-       int n;
-       double x;
-       struct { double x, y; } pair;
-       struct { double x; char *body; } if_data;
-       struct { char *str; const char *filename; int lineno; } lstr;
-       struct { double *v; int nv; int maxv; } dv;
-       struct { double val; int is_multiplicative; } by;
-       place pl;
-       object *obj;
-       corner crn;
-       path *pth;
-       object_spec *spec;
-       saved_state *pstate;
-       graphics_state state;
-       object_type obtype;
-} YYSTYPE;
-#line 73 "y.tab.c"
-#define LABEL 257
-#define VARIABLE 258
-#define NUMBER 259
-#define TEXT 260
-#define COMMAND_LINE 261
-#define DELIMITED 262
-#define ORDINAL 263
-#define TH 264
-#define LEFT_ARROW_HEAD 265
-#define RIGHT_ARROW_HEAD 266
-#define DOUBLE_ARROW_HEAD 267
-#define LAST 268
-#define UP 269
-#define DOWN 270
-#define LEFT 271
-#define RIGHT 272
-#define BOX 273
-#define CIRCLE 274
-#define ELLIPSE 275
-#define ARC 276
-#define LINE 277
-#define ARROW 278
-#define MOVE 279
-#define SPLINE 280
-#define HEIGHT 281
-#define RADIUS 282
-#define FIGNAME 283
-#define WIDTH 284
-#define DIAMETER 285
-#define FROM 286
-#define TO 287
-#define AT 288
-#define WITH 289
-#define BY 290
-#define THEN 291
-#define SOLID 292
-#define DOTTED 293
-#define DASHED 294
-#define CHOP 295
-#define SAME 296
-#define INVISIBLE 297
-#define LJUST 298
-#define RJUST 299
-#define ABOVE 300
-#define BELOW 301
-#define OF 302



Home | Main Index | Thread Index | Old Index