From: ellson Date: Fri, 29 Aug 2008 03:25:00 +0000 (+0000) Subject: Be consistent about the naming of pdf versions of man pages, e.g. X-Git-Tag: LAST_LIBGRAPH~32^2~3533 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3509e780bb5efe35b92058fff65ac9a025abced0;p=graphviz Be consistent about the naming of pdf versions of man pages, e.g. tcldot.3tcl -> tcldot.3tcl.pdf cgraph.3 -> cgraph.3.pdf dotty.1 -> dotty.1.pdf --- diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index ace01be08..dd4af0f88 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -4,12 +4,12 @@ pdfdir = $(pkgdatadir)/doc/pdf linkedman = neato.1 twopi.1 fdp.1 circo.1 -linkedpdf = neato.pdf twopi.pdf fdp.pdf circo.pdf +linkedpdf = neato.1.pdf twopi.1.pdf fdp.1.pdf circo.1.pdf linkedprogram = neato$(EXEEXT) twopi$(EXEEXT) fdp$(EXEEXT) circo$(EXEEXT) if WITH_SFDP linkedman += sfdp.1 -linkedpdf += sfdp.pdf +linkedpdf += sfdp.1.pdf linkedprogram += sfdp$(EXEEXT) endif @@ -44,14 +44,14 @@ endif man_MANS = dot.1 -pdf_DATA = dot.pdf +pdf_DATA = dot.1.pdf dot_SOURCES = dot.c dot_LDADD = $(top_builddir)/lib/gvc/libgvc.la install-data-hook: (cd $(DESTDIR)$(man1dir); for i in $(linkedman); do rm -f $$i; $(LN_S) dot.1 $$i; done;) - (cd $(DESTDIR)$(pdfdir); for i in $(linkedpdf); do rm -f $$i; $(LN_S) dot.pdf $$i; done;) + (cd $(DESTDIR)$(pdfdir); for i in $(linkedpdf); do rm -f $$i; $(LN_S) dot.1.pdf $$i; done;) # create "neato", "fdp" etc as soflinks to "dot" # run "dot -c", if possible, to create plugin config @@ -65,8 +65,8 @@ uninstall-hook: (cd $(DESTDIR)$(bindir); for i in $(linkedprogram); do rm -f $$i; done;) (cd $(DESTDIR)$(libdir); rm -f config;) -dot.pdf: $(top_srcdir)/cmd/dot/dot.1 - - @GROFF@ -Tps -man $(top_srcdir)/cmd/dot/dot.1 | @PS2PDF@ - - >$@ +dot.1.pdf: dot.1 + - @GROFF@ -Tps -man dot.1 | @PS2PDF@ - - >dot.1.pdf # This automagic technique for building the list of builtins requires that the # symbols be in the binary image, but libtool makes it difficult @@ -112,6 +112,6 @@ dot_static_LDADD += $(top_builddir)/plugin/pango/.libs/libgvplugin_pango_C.a @PA dot_builtins_LDADD += $(top_builddir)/plugin/pango/libgvplugin_pango.la @PANGOCAIRO_LIBS@ endif -EXTRA_DIST = Makefile.old dot.1 dot.pdf +EXTRA_DIST = Makefile.old dot.1 dot.1.pdf -DISTCLEANFILES = dot.pdf +DISTCLEANFILES = dot.1.pdf diff --git a/cmd/dotty/Makefile.am b/cmd/dotty/Makefile.am index 31999bb9e..5bac9702b 100644 --- a/cmd/dotty/Makefile.am +++ b/cmd/dotty/Makefile.am @@ -2,7 +2,7 @@ ## Process this file with automake to produce Makefile.in man = dotty.1 -pdf = dotty.pdf +pdf = dotty.1.pdf leftydir = $(pkgdatadir)/lefty pdfdir = $(pkgdatadir)/doc/pdf @@ -26,8 +26,8 @@ dotty: $(top_srcdir)/cmd/dotty/dotty.sh chmod +x dotty endif -.1.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +dotty.1.pdf: dotty.1 + - @GROFF@ -Tps -man dotty.1 | @PS2PDF@ - - >dotty.1.pdf EXTRA_DIST = $(lefty_DATA) $(man) $(pdf) \ dotty.bsh dotty.ksh dotty.sh \ diff --git a/cmd/gvpr/Makefile.am b/cmd/gvpr/Makefile.am index 76861fd83..25270f339 100644 --- a/cmd/gvpr/Makefile.am +++ b/cmd/gvpr/Makefile.am @@ -18,7 +18,7 @@ bin_PROGRAMS = gvpr noinst_PROGRAMS = mkdefs noinst_HEADERS = actions.h compile.h gprstate.h parse.h queue.h man_MANS = gvpr.1 -pdf_DATA = gvpr.pdf +pdf_DATA = gvpr.1.pdf gvpr_SOURCES = actions.c compile.c gvpr.c gprstate.c parse.c queue.c @@ -39,8 +39,8 @@ mkdefs_SOURCES = mkdefs.c gdefs.h: $(top_srcdir)/cmd/gvpr/gprdata mkdefs ./mkdefs gdefs.h < $(top_srcdir)/cmd/gvpr/gprdata -.1.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +gvpr.1.pdf: gvpr.1 + - @GROFF@ -Tps -man gvpr.1 | @PS2PDF@ - - >gvpr.1.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) lib Makefile.old gprdata mkdefs.c gdefs.h diff --git a/cmd/lefty/Makefile.am b/cmd/lefty/Makefile.am index 41b749168..9f5780f82 100644 --- a/cmd/lefty/Makefile.am +++ b/cmd/lefty/Makefile.am @@ -43,7 +43,7 @@ endif man = lefty.1 -pdf = lefty.pdf +pdf = lefty.1.pdf noinst_HEADERS = code.h common.h display.h exec.h g.h gfxview.h internal.h \ io.h lex.h mem.h parse.h str.h tbl.h txtview.h @@ -95,8 +95,8 @@ lefty.res : ws/mswin32/lefty.rc endif endif -.1.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +lefty.1.pdf: lefty.1 + - @GROFF@ -Tps -man lefty.1 | @PS2PDF@ - - >lefty.1.pdf EXTRA_DIST = $(lefty_DATA) $(man) $(pdf) \ colors.txt Makefile.old aix_mods cs2l/* diff --git a/cmd/lneato/Makefile.am b/cmd/lneato/Makefile.am index 47332124f..c3a13050c 100644 --- a/cmd/lneato/Makefile.am +++ b/cmd/lneato/Makefile.am @@ -4,7 +4,7 @@ pdfdir = $(pkgdatadir)/doc/pdf man = lneato.1 -pdf = lneato.pdf +pdf = lneato.1.pdf man_MANS = $(man) pdf_DATA = $(pdf) @@ -24,8 +24,8 @@ lneato: ${top_srcdir}/cmd/lneato/lneato.sh chmod +x lneato endif -.1.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +lneato.1.pdf: lneato.1 + - @GROFF@ -Tps -man lneato.1 | @PS2PDF@ - - >lneato.1.pdf EXTRA_DIST = $(man) $(pdf) lneato.bsh lneato.ksh lneato.sh \ Makefile.old mswin32 diff --git a/cmd/tools/Makefile.am b/cmd/tools/Makefile.am index 65c6cc768..8e4fbed30 100644 --- a/cmd/tools/Makefile.am +++ b/cmd/tools/Makefile.am @@ -21,13 +21,14 @@ bin_PROGRAMS = gc gvcolor gxl2gv acyclic nop ccomps sccmap tred \ unflatten gvpack dijkstra bcomps mm2gv man_MANS = gc.1 gvcolor.1 gxl2gv.1 acyclic.1 nop.1 ccomps.1 sccmap.1 \ tred.1 unflatten.1 gvpack.1 dijkstra.1 bcomps.1 mm2gv.1 -pdf_DATA = gc.pdf gvcolor.pdf gxl2gv.pdf acyclic.pdf nop.pdf ccomps.pdf \ - sccmap.pdf tred.pdf unflatten.pdf gvpack.pdf dijkstra.pdf bcomps.pdf \ - mm2gv.pdf +pdf_DATA = gc.1.pdf gvcolor.1.pdf gxl2gv.1.pdf acyclic.1.pdf \ + nop.1.pdf ccomps.1.pdf sccmap.1.pdf tred.1.pdf \ + unflatten.1.pdf gvpack.1.pdf dijkstra.1.pdf \ + bcomps.1.pdf mm2gv.1.pdf install-data-hook: (cd $(DESTDIR)$(man1dir); rm -f gv2gxl.1; $(LN_S) gxl2gv.1 gv2gxl.1;) - (cd $(DESTDIR)$(pdfdir); rm -f gv2gxl.pdf; $(LN_S) gxl2gv.pdf gv2gxl.pdf;) + (cd $(DESTDIR)$(pdfdir); rm -f gv2gxl.1.pdf; $(LN_S) gxl2gv.1.pdf gv2gxl.1.pdf;) install-exec-hook: (cd $(DESTDIR)$(bindir); rm -f gv2gxl$(EXEEXT); $(LN_S) gxl2gv$(EXEEXT) gv2gxl$(EXEEXT);) @@ -36,7 +37,7 @@ install-exec-hook: uninstall-hook: (cd $(DESTDIR)$(man1dir); rm -f gv2gxl.1;) - (cd $(DESTDIR)$(pdfdir); rm -f gv2gxl.pdf;) + (cd $(DESTDIR)$(pdfdir); rm -f gv2gxl.1.pdf;) (cd $(DESTDIR)$(bindir); rm -f gv2gxl$(EXEEXT);) (cd $(DESTDIR)$(bindir); rm -f dot2gxl$(EXEEXT);) (cd $(DESTDIR)$(bindir); rm -f gxl2dot$(EXEEXT);) @@ -47,60 +48,90 @@ gxl2gv_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la @EXPAT_LIBS@ +gxl2gv.1.pdf: gxl2gv.1 + - @GROFF@ -Tps -man gxl2gv.1 | @PS2PDF@ - - >gxl2gv.1.pdf + sccmap_SOURCES = sccmap.c sccmap_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la @EXPAT_LIBS@ +sccmap.1.pdf: sccmap.1 + - @GROFF@ -Tps -man sccmap.1 | @PS2PDF@ - - >sccmap.1.pdf + ccomps_SOURCES = ccomps.c ccomps_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +ccomps.1.pdf: ccomps.1 + - @GROFF@ -Tps -man ccomps.1 | @PS2PDF@ - - >ccomps.1.pdf + tred_SOURCES = tred.c tred_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +tred.1.pdf: tred.1 + - @GROFF@ -Tps -man tred.1 | @PS2PDF@ - - >tred.1.pdf + unflatten_SOURCES = unflatten.c unflatten_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +unflatten.1.pdf: unflatten.1 + - @GROFF@ -Tps -man unflatten.1 | @PS2PDF@ - - >unflatten.1.pdf + acyclic_SOURCES = acyclic.c acyclic_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +acyclic.1.pdf: acyclic.1 + - @GROFF@ -Tps -man acyclic.1 | @PS2PDF@ - - >acyclic.1.pdf + nop_SOURCES = nop.c nop_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +nop.1.pdf: nop.1 + - @GROFF@ -Tps -man nop.1 | @PS2PDF@ - - >nop.1.pdf + gvcolor_SOURCES = gvcolor.c colxlate.c colortbl.h gvcolor_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +gvcolor.1.pdf: gvcolor.1 + - @GROFF@ -Tps -man gvcolor.1 | @PS2PDF@ - - >gvcolor.1.pdf + bcomps_SOURCES = bcomps.c bcomps_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +bcomps.1.pdf: bcomps.1 + - @GROFF@ -Tps -man bcomps.1 | @PS2PDF@ - - >bcomps.1.pdf + gc_SOURCES = gc.c gc_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la +gc.1.pdf: gc.1 + - @GROFF@ -Tps -man gc.1 | @PS2PDF@ - - >gc.1.pdf + gvpack_SOURCES = gvpack.c gvpack_builtins.c gvpack_LDADD = \ @@ -108,6 +139,9 @@ gvpack_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/plugin/neato_layout/libgvplugin_neato_layout.la +gvpack.1.pdf: gvpack.1 + - @GROFF@ -Tps -man gvpack.1 | @PS2PDF@ - - >gvpack.1.pdf + mm2gv_SOURCES = mm2gv.c matrix_market.c mmio.c mm2gv_LDADD = \ @@ -115,14 +149,17 @@ mm2gv_LDADD = \ $(top_builddir)/lib/sparse/libsparse_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la @MATH_LIBS@ +mm2gv.1.pdf: mm2gv.1 + - @GROFF@ -Tps -man mm2gv.1 | @PS2PDF@ - - >mm2gv.1.pdf + dijkstra_SOURCES = dijkstra.c dijkstra_LDADD = \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la -.1.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +dijkstra.1.pdf: dijkstra.1 + - @GROFF@ -Tps -man dijkstra.1 | @PS2PDF@ - - >dijkstra.1.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old diff --git a/lib/agraph/Makefile.am b/lib/agraph/Makefile.am index 8b9b8a8d3..2cddb4389 100644 --- a/lib/agraph/Makefile.am +++ b/lib/agraph/Makefile.am @@ -16,7 +16,7 @@ noinst_LTLIBRARIES = libagraph_C.la lib_LTLIBRARIES = libagraph.la pkgconfig_DATA = libagraph.pc man_MANS = agraph.3 -pdf_DATA = agraph.pdf +pdf_DATA = agraph.3.pdf endif libagraph_C_la_SOURCES = agerror.c apply.c attr.c \ @@ -44,8 +44,8 @@ grammar.c: y.output grammar.h: y.output @SED@ "s/yy/aag/g" < y.tab.h > grammar.h -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +agraph.3.pdf: agraph.3 + - @GROFF@ -Tps -man agraph.3 | @PS2PDF@ - - >agraph.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old cmpnd.c dotdge.c \ main.c tester.c README grammar.c grammar.h scan.c \ diff --git a/lib/cdt/Makefile.am b/lib/cdt/Makefile.am index bc9c51730..6d3db0f4c 100644 --- a/lib/cdt/Makefile.am +++ b/lib/cdt/Makefile.am @@ -12,7 +12,7 @@ noinst_HEADERS = dthdr.h $(top_builddir)/ast_common.h noinst_LTLIBRARIES = libcdt_C.la lib_LTLIBRARIES = libcdt.la man_MANS = cdt.3 -pdf_DATA = cdt.pdf +pdf_DATA = cdt.3.pdf pkgconfig_DATA = libcdt.pc libcdt_C_la_SOURCES = dtclose.c dtdisc.c dtextract.c dtflatten.c \ @@ -22,8 +22,8 @@ libcdt_C_la_SOURCES = dtclose.c dtdisc.c dtextract.c dtflatten.c \ libcdt_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined libcdt_la_SOURCES = $(libcdt_C_la_SOURCES) -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +cdt.3.pdf: cdt.3 + - @GROFF@ -Tps -man cdt.3 | @PS2PDF@ - - >cdt.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old features diff --git a/lib/cgraph/Makefile.am b/lib/cgraph/Makefile.am index 0f9a64a52..9956c61a1 100644 --- a/lib/cgraph/Makefile.am +++ b/lib/cgraph/Makefile.am @@ -14,7 +14,7 @@ noinst_LTLIBRARIES = libcgraph_C.la lib_LTLIBRARIES = libcgraph.la pkgconfig_DATA = libcgraph.pc man_MANS = cgraph.3 -pdf_DATA = cgraph.pdf +pdf_DATA = cgraph.3.pdf libcgraph_C_la_SOURCES = agerror.c agxbuf.c apply.c attr.c edge.c \ flatten.c graph.c grammar.y id.c imap.c io.c mem.c node.c \ @@ -40,8 +40,8 @@ grammar.c: y.output grammar.h: y.output @SED@ "s/yy/aag/g" < y.tab.h > grammar.h -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +cgraph.3.pdf: cgraph.3 + - @GROFF@ -Tps -man cgraph.3 | @PS2PDF@ - - >cgraph.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old cmpnd.c \ main.c tester.c grammar.c grammar.h scan.c \ diff --git a/lib/expr/Makefile.am b/lib/expr/Makefile.am index 50e052f89..94c040d36 100644 --- a/lib/expr/Makefile.am +++ b/lib/expr/Makefile.am @@ -18,7 +18,7 @@ noinst_LTLIBRARIES = libexpr_C.la ### expr.h includes ast.h and vmalloc.h which we don't install #lib_LTLIBRARIES = libexpr.la #man_MANS = expr.3 -#pdf_DATA = expr.pdf +#pdf_DATA = expr.3.pdf #pkgconfig_DATA = libexpr.pc #### -no-undefined breaks Mac OS/X builds. @@ -64,8 +64,8 @@ exop.h: exparse.h $(SED) -e '1,/MINTOKEN/d' -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h echo "};" >> exop.h -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +expr.3.pdf: expr.3 + - @GROFF@ -Tps -man expr.3 | @PS2PDF@ - - >expr.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) RELEASE \ Makefile.nmake Makefile.orig Makefile.old \ diff --git a/lib/graph/Makefile.am b/lib/graph/Makefile.am index 953de085b..4c806b23b 100644 --- a/lib/graph/Makefile.am +++ b/lib/graph/Makefile.am @@ -14,7 +14,7 @@ noinst_LTLIBRARIES = libgraph_C.la lib_LTLIBRARIES = libgraph.la pkgconfig_DATA = libgraph.pc man_MANS = graph.3 -pdf_DATA = graph.pdf +pdf_DATA = graph.3.pdf libgraph_C_la_SOURCES = \ attribs.c agxbuf.c edge.c graph.c graphio.c lexer.c \ @@ -39,8 +39,8 @@ y.output: $(top_srcdir)/lib/graph/parser.y # trie.c : trie_input # triegen < trie_input > trie.c -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - > $@ +graph.3.pdf: graph.3 + - @GROFF@ -Tps -man graph.3 | @PS2PDF@ - - > graph.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) triefa.cP \ Makefile.old parser.c parser.h \ diff --git a/lib/gvc/Makefile.am b/lib/gvc/Makefile.am index e82cde48f..70e012057 100644 --- a/lib/gvc/Makefile.am +++ b/lib/gvc/Makefile.am @@ -38,7 +38,7 @@ pkgconfig_DATA += libgvc_builtins.pc endif man_MANS = gvc.3 -pdf_DATA = gvc.pdf +pdf_DATA = gvc.3.pdf libgvc_C_la_SOURCES = gvrender.c gvlayout.c gvdevice.c gvloadimage.c \ gvcontext.c gvjobs.c gvevent.c gvplugin.c gvconfig.c \ @@ -65,8 +65,8 @@ libgvc_builtins_la_LDFLAGS = -version-info @VERSION_INFO@ libgvc_builtins_la_SOURCES = $(libgvc_C_la_SOURCES) libgvc_builtins_la_LIBADD = $(libgvc_la_LIBADD) -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - > $@ +gvc.3.pdf: gvc.3 + - @GROFF@ -Tps -man gvc.3 | @PS2PDF@ - - > gvc.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old regex_win32.h regex_win32.c diff --git a/lib/pack/Makefile.am b/lib/pack/Makefile.am index e5044880f..eadf624f8 100644 --- a/lib/pack/Makefile.am +++ b/lib/pack/Makefile.am @@ -19,13 +19,13 @@ endif pkginclude_HEADERS = pack.h noinst_LTLIBRARIES = libpack_C.la #man_MANS = pack.3 -#pdf_DATA = pack.pdf +#pdf_DATA = pack.3.pdf #pkgconfig_DATA = libpack.pc libpack_C_la_SOURCES = ccomps.c pack.c -#.3.pdf: -# - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +pack.3.pdf: pack.3 + - @GROFF@ -Tps -man pack.3 | @PS2PDF@ - - >pack.3.pdf #EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old ptest.c diff --git a/lib/pathplan/Makefile.am b/lib/pathplan/Makefile.am index bf4843fd6..30a816169 100644 --- a/lib/pathplan/Makefile.am +++ b/lib/pathplan/Makefile.am @@ -11,7 +11,7 @@ noinst_LTLIBRARIES = libpathplan_C.la lib_LTLIBRARIES = libpathplan.la pkgconfig_DATA = libpathplan.pc man_MANS = pathplan.3 -pdf_DATA = pathplan.pdf +pdf_DATA = pathplan.3.pdf libpathplan_C_la_SOURCES = cvt.c inpoly.c route.c shortest.c \ shortestpth.c solvers.c triang.c util.c visibility.c @@ -20,8 +20,8 @@ libpathplan_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined libpathplan_la_SOURCES = $(libpathplan_C_la_SOURCES) libpathplan_la_LIBADD = @MATH_LIBS@ -.3.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +pathplan.3.pdf: pathplan.3 + - @GROFF@ -Tps -man pathplan.3 | @PS2PDF@ - - >pathplan.3.pdf EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old path.lefty diff --git a/tclpkg/gdtclft/Makefile.am b/tclpkg/gdtclft/Makefile.am index 48c18f9c3..9490072e7 100644 --- a/tclpkg/gdtclft/Makefile.am +++ b/tclpkg/gdtclft/Makefile.am @@ -16,7 +16,7 @@ LIBS = @LIBS@ -lc AM_CFLAGS = @TCL_CFLAGS@ man = gdtclft.3tcl -pdf = gdtclft.pdf +pdf = gdtclft.3tcl.pdf if WITH_LIBGD if WITH_TCL @@ -55,8 +55,8 @@ test: endif endif -.3tcl.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +gdtclft.3tcl.pdf: gdtclft.3tcl + - @GROFF@ -Tps -man gdtclft.3tcl | @PS2PDF@ - - >gdtclft.3tcl.pdf EXTRA_DIST = $(man) $(pdf) Makefile.old diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index 77a9ade51..5456055b7 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -201,111 +201,111 @@ gv_tcl.cpp: gv.i pkginclude_DATA = gv.i gv.cpp pkglib_LTLIBRARIES = man_MANS = -#pdf_DATA = +pdf_DATA = DEVTSTS = if WITH_SWIG if WITH_SHARP pkgsharp_DATA = $(SHARP_data) man_MANS += gv.3sharp -#pdf_DATA += gv.sharp.pdf +pdf_DATA += gv.3sharp.pdf pkgsharp_LTLIBRARIES = libgv_sharp.la DEVTSTS += test_sharp endif if WITH_GUILE pkgguile_DATA = $(GUILE_data) man_MANS += gv.3guile -#pdf_DATA += gv.3guile.pdf +pdf_DATA += gv.3guile.pdf pkgguile_LTLIBRARIES = libgv_guile.la DEVTSTS += test_guile endif if WITH_IO pkgio_DATA = $(IO_data) man_MANS += gv.3io -#pdf_DATA += gv.3io.pdf +pdf_DATA += gv.3io.pdf pkgio_LTLIBRARIES = libgv_io.la DEVTSTS += test_io endif if WITH_JAVA pkgjava_DATA = $(JAVA_data) man_MANS += gv.3java -#pdf_DATA += gv.3java.pdf +pdf_DATA += gv.3java.pdf pkgjava_LTLIBRARIES = libgv_java.la DEVTSTS += test_java endif if WITH_LUA pkglua_DATA = $(LUA_data) man_MANS += gv.3lua -#pdf_DATA += gv.3lua.pdf +pdf_DATA += gv.3lua.pdf pkglua_LTLIBRARIES = libgv_lua.la DEVTSTS += test_lua endif if WITH_OCAML pkgocaml_DATA = $(OCAML_data) man_MANS += gv.3ocaml -#pdf_DATA += gv.3ocaml.pdf +pdf_DATA += gv.3ocaml.pdf pkgocaml_LTLIBRARIES = libgv_ocaml.la DEVTSTS += test_ocaml endif if WITH_PERL pkgperl_DATA = $(PERL_data) man_MANS += gv.3perl -#pdf_DATA += gv.3perl.pdf +pdf_DATA += gv.3perl.pdf pkgperl_LTLIBRARIES = libgv_perl.la DEVTSTS += test_perl endif if WITH_PHP pkgphp_DATA = $(PHP_data) man_MANS += gv.3php -#pdf_DATA += gv.3php.pdf +pdf_DATA += gv.3php.pdf pkgphp_LTLIBRARIES = libgv_php.la DEVTSTS += test_php endif if WITH_PYTHON pkgpython_DATA = $(PYTHON_data) man_MANS += gv.3python -#pdf_DATA += gv.3python.pdf +pdf_DATA += gv.3python.pdf pkgpython_LTLIBRARIES = libgv_python.la DEVTSTS += test_python endif if WITH_PYTHON23 pkgpython23_DATA = $(PYTHON23_data) man_MANS += gv.3python -#pdf_DATA += gv.3python.pdf +pdf_DATA += gv.3python.pdf pkgpython23_LTLIBRARIES = libgv_python23.la #DEVTSTS += test_python23 endif if WITH_PYTHON24 pkgpython24_DATA = $(PYTHON24_data) man_MANS += gv.3python -#pdf_DATA += gv.3python.pdf +pdf_DATA += gv.3python.pdf pkgpython24_LTLIBRARIES = libgv_python24.la #DEVTSTS += test_python24 endif if WITH_PYTHON25 pkgpython25_DATA = $(PYTHON25_data) man_MANS += gv.3python -#pdf_DATA += gv.3python.pdf +pdf_DATA += gv.3python.pdf pkgpython25_LTLIBRARIES = libgv_python25.la #DEVTSTS += test_python25 endif if WITH_R pkgR_DATA = $(R_data) man_MANS += gv.3r -#pdf_DATA += gv.3r.pdf +pdf_DATA += gv.3r.pdf pkgR_LTLIBRARIES = libgv_R.la DEVTSTS += test_R endif if WITH_RUBY pkgruby_DATA = $(RUBY_data) man_MANS += gv.3ruby -#pdf_DATA += gv.3ruby.pdf +pdf_DATA += gv.3ruby.pdf pkgruby_LTLIBRARIES = libgv_ruby.la DEVTSTS += test_ruby endif if WITH_TCL pkgtcl_DATA = $(TCL_data) man_MANS += gv.3tcl -#pdf_DATA += gv.3tcl.pdf +pdf_DATA += gv.3tcl.pdf pkgtcl_LTLIBRARIES = libgv_tcl.la DEVTSTS += test_tcl @@ -319,14 +319,49 @@ endif man = gv.3sharp gv.3guile gv.3io gv.3java gv.3lua gv.3ocaml \ gv.3perl gv.3php gv.3python gv.3r gv.3ruby gv.3tcl -#pdf = gv.3sharp.pdf gv.3guile.pdf gv.3io.pdf gv.3java.pdf gv.3lua.pdf gv.3ocaml.pdf \ -# gv.3perl.pdf gv.3php.pdf gv.3python.pdf gv.3r.pdf gv.3ruby.pdf gv.3tcl.pdf +pdf = gv.3sharp.pdf gv.3guile.pdf gv.3io.pdf gv.3java.pdf gv.3lua.pdf \ + gv.3ocaml.pdf gv.3perl.pdf gv.3php.pdf gv.3python.pdf gv.3r.pdf \ + gv.3ruby.pdf gv.3tcl.pdf + $(man): gv.i gv_doc_writer.tcl gv_doc_template.tcl gv_doc_langs.tcl $(TCLSH) $(srcdir)/gv_doc_writer.tcl "$(srcdir)" -.n.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +gv.3sharp.pdf: gv.3sharp + - @GROFF@ -Tps -man gv.3sharp | @PS2PDF@ - - >gv.3sharp.pdf + +gv.3guile.pdf: gv.3guile + - @GROFF@ -Tps -man gv.3guile | @PS2PDF@ - - >gv.3guile.pdf + +gv.3io.pdf: gv.3io + - @GROFF@ -Tps -man gv.3io | @PS2PDF@ - - >gv.3io.pdf + +gv.3java.pdf: gv.3java + - @GROFF@ -Tps -man gv.3java | @PS2PDF@ - - >gv.3java.pdf + +gv.3lua.pdf: gv.3lua + - @GROFF@ -Tps -man gv.3lua | @PS2PDF@ - - >gv.3lua.pdf + +gv.3ocaml.pdf: gv.3ocaml + - @GROFF@ -Tps -man gv.3ocaml | @PS2PDF@ - - >gv.3ocaml.pdf + +gv.3perl.pdf: gv.3perl + - @GROFF@ -Tps -man gv.3perl | @PS2PDF@ - - >gv.3perl.pdf + +gv.3php.pdf: gv.3php + - @GROFF@ -Tps -man gv.3php | @PS2PDF@ - - >gv.3php.pdf + +gv.3python.pdf: gv.3python + - @GROFF@ -Tps -man gv.3python | @PS2PDF@ - - >gv.3python.pdf + +gv.3r.pdf: gv.3r + - @GROFF@ -Tps -man gv.3r | @PS2PDF@ - - >gv.3r.pdf + +gv.3ruby.pdf: gv.3ruby + - @GROFF@ -Tps -man gv.3ruby | @PS2PDF@ - - >gv.3ruby.pdf + +gv.3tcl.pdf: gv.3tcl + - @GROFF@ -Tps -man gv.3tcl | @PS2PDF@ - - >gv.3tcl.pdf install-data-hook: if WITH_LUA diff --git a/tclpkg/tcldot/Makefile.am b/tclpkg/tcldot/Makefile.am index cbfec6ebe..062d9466d 100644 --- a/tclpkg/tcldot/Makefile.am +++ b/tclpkg/tcldot/Makefile.am @@ -22,7 +22,7 @@ LIBS = @LIBS@ -lc AM_CFLAGS = @TCL_CFLAGS@ man = tcldot.3tcl -pdf = tcldot.pdf +pdf = tcldot.3tcl.pdf html = tcldot.html if WITH_TCL @@ -94,8 +94,8 @@ pkgIndex.tcl: libtcldot.la sh $(top_srcdir)/tclpkg/mkpkgindex.sh libtcldot.la Tcldot $(VERSION) endif -.3tcl.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +tcldot.3tcl.pdf: tcldot.3tcl + - @GROFF@ -Tps -man tcldot.3tcl | @PS2PDF@ - - >tcldot.3tcl.pdf EXTRA_DIST = $(man) $(pdf) $(html) README README.Tkspline Makefile.old diff --git a/tclpkg/tkspline/Makefile.am b/tclpkg/tkspline/Makefile.am index 28072e90e..95249b319 100644 --- a/tclpkg/tkspline/Makefile.am +++ b/tclpkg/tkspline/Makefile.am @@ -7,7 +7,7 @@ pkgtcldir = $(pkglibdir)/tcl pdfdir = $(pkgdatadir)/doc/pdf man = tkspline.3tk -pdf = tkspline.pdf +pdf = tkspline.3tk.pdf # If all else fails there is a local copy of tkInt.h in tkstubs/ AM_CPPFLAGS = \ @@ -38,8 +38,8 @@ pkgIndex.tcl: libtkspline.la sh $(top_srcdir)/tclpkg/mkpkgindex.sh libtkspline.la Tkspline $(VERSION) endif -.3tk.pdf: - - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ +tkspline.3tk.pdf: + - @GROFF@ -Tps -man tkspline.3tk | @PS2PDF@ - - >tkspline.3tk.pdf EXTRA_DIST = $(man) $(pdf) dllEntry.c