GROFF    contrib/hdtbl/examples/mixed_pickles.pdf
Attempt to call undefined import method with arguments ("splitpath") via
package "File::Spec" (Perhaps you forgot to load the package?) at
/home/bg/git/groff/build/gropdf line 29.

Line 29 is

use File::Spec qw(splitpath);

N.B.  perl is now

This is perl 5, version 40, subversion 0 (v5.40.0) built for
x86_64-linux-gnu-thread-multi
(with 43 registered patches, see perl -V for more detail)

Copyright 1987-2024, Larry Wall

-.-

  The "hdtbl.am" file is in the attachment.

N.B.  The warning is not marked with "warning: ".
# Copyright (C) 2006-2024 Free Software Foundation, Inc.
#      Written by Werner Lemberg <w...@gnu.org>
#      Automake migration by Bertrand Garrigues
#        <bertrand.garrig...@laposte.net>
#
# This file is part of groff.
#
# groff is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# groff is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

hdtbl_srcdir = $(top_srcdir)/contrib/hdtbl

man7_MANS += contrib/hdtbl/groff_hdtbl.7

# Groff command used to generate .dvi, .pdf, and .ps files
HDTBLGROFF = \
  GROFF_COMMAND_PREFIX= \
  GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
  $(GROFFBIN) $(FFLAG) \
    -dfontpath=$(top_srcdir)/font \
    -dsopath=$(hdtbl_srcdir)/ \
    -I $(doc_builddir) -I $(doc_srcdir) \
     $(MFLAG) -M$(hdtbl_srcdir) -mhdtbl -t -p -e -U

HDTBLTMACFILES = \
  contrib/hdtbl/hdtbl.tmac \
  contrib/hdtbl/hdmisc.tmac
hdtbltmacdir = $(tmacdir)
dist_hdtbltmac_DATA = $(HDTBLTMACFILES)

hdtbl_test_template = contrib/hdtbl/examples/test-hdtbl.sh.in

# Files installed in $(exampledir)/hdtbl.  HDTBLEXAMPLEFILES are
# located in the source tree, while HDTBLPROCESSEDEXAMPLEFILES,
# HDTBLPROCESSEDEXAMPLEFILESDVI and HDTBLPROCESSEDEXAMPLEFILESPDF
# are generated in the build tree.

# These files are handled by the '.in.roff' rule.
HDTBLGENFILES = \
  contrib/hdtbl/examples/fonts_n.roff \
  contrib/hdtbl/examples/fonts_x.roff \
  contrib/hdtbl/examples/fonts.dvi_n.roff \
  contrib/hdtbl/examples/fonts.dvi_x.roff \
  contrib/hdtbl/examples/fonts.URW_n.roff \
  contrib/hdtbl/examples/fonts.URW_x.roff

EXTRA_DIST += \
  contrib/hdtbl/examples/fonts_n.in \
  contrib/hdtbl/examples/fonts_x.in \
  contrib/hdtbl/examples/fonts.dvi_n.in \
  contrib/hdtbl/examples/fonts.dvi_x.in \
  contrib/hdtbl/examples/fonts.URW_n.in \
  contrib/hdtbl/examples/fonts.URW_x.in \
  $(hdtbl_test_template)

HDTBLEXAMPLEFILES = \
  contrib/hdtbl/examples/common.roff \
  contrib/hdtbl/examples/chess_board.roff \
  contrib/hdtbl/examples/color_boxes.roff \
  contrib/hdtbl/examples/color_nested_tables.roff \
  contrib/hdtbl/examples/color_table_cells.roff \
  contrib/hdtbl/examples/color_transitions.roff \
  contrib/hdtbl/examples/col_rowspan_colors.roff \
  contrib/hdtbl/examples/mixed_pickles.roff \
  contrib/hdtbl/examples/rainbow.roff \
  contrib/hdtbl/examples/short_reference.roff

HDTBLPROCESSEDEXAMPLEFILES = \
  contrib/hdtbl/examples/chess_board.ps \
  contrib/hdtbl/examples/color_boxes.ps \
  contrib/hdtbl/examples/color_nested_tables.ps \
  contrib/hdtbl/examples/color_table_cells.ps \
  contrib/hdtbl/examples/color_transitions.ps \
  contrib/hdtbl/examples/col_rowspan_colors.ps \
  contrib/hdtbl/examples/fonts_n.ps \
  contrib/hdtbl/examples/fonts_x.ps \
  contrib/hdtbl/examples/mixed_pickles.ps \
  contrib/hdtbl/examples/rainbow.ps \
  contrib/hdtbl/examples/short_reference.ps

HDTBLPROCESSEDEXAMPLEFILESPDF = \
  contrib/hdtbl/examples/chess_board.pdf \
  contrib/hdtbl/examples/color_boxes.pdf \
  contrib/hdtbl/examples/color_nested_tables.pdf \
  contrib/hdtbl/examples/color_table_cells.pdf \
  contrib/hdtbl/examples/color_transitions.pdf \
  contrib/hdtbl/examples/col_rowspan_colors.pdf \
  contrib/hdtbl/examples/fonts_n.pdf \
  contrib/hdtbl/examples/fonts_x.pdf \
  contrib/hdtbl/examples/fonts.URW_n.pdf \
  contrib/hdtbl/examples/fonts.URW_x.pdf \
  contrib/hdtbl/examples/mixed_pickles.pdf \
  contrib/hdtbl/examples/rainbow.pdf \
  contrib/hdtbl/examples/short_reference.pdf

HDTBLPROCESSEDEXAMPLEFILESDVI = \
  contrib/hdtbl/examples/color_boxes.dvi \
  contrib/hdtbl/examples/fonts.dvi_n.dvi \
  contrib/hdtbl/examples/fonts.dvi_x.dvi

hdtblexampledir = $(exampledir)/hdtbl
dist_hdtblexample_DATA = $(HDTBLEXAMPLEFILES)
nodist_hdtblexample_DATA = \
  $(HDTBLGENFILES) \
  $(HDTBLPROCESSEDEXAMPLEFILES) \
  $(HDTBLPROCESSEDEXAMPLEFILESDVI) \
  $(HDTBLPROCESSEDEXAMPLEFILESPDF) \
  $(DOC_GNU_EPS)

$(hdtblexample_DATA): $(HDTBLTMACFILES)

MOSTLYCLEANFILES += $(HDTBLGENFILES) $(HDTBLPROCESSEDEXAMPLEFILES) \
  $(HDTBLPROCESSEDEXAMPLEFILESDVI) $(HDTBLPROCESSEDEXAMPLEFILESPDF)

EXTRA_DIST += \
  contrib/hdtbl/ChangeLog \
  contrib/hdtbl/TODO \
  contrib/hdtbl/groff_hdtbl.7.man

hdtbl_TESTS = contrib/hdtbl/examples/test-hdtbl.sh
TESTS += $(hdtbl_TESTS)
contrib/hdtbl/examples/test-hdtbl.sh: \
  $(top_builddir)/config.status \
  $(HDTBLPROCESSEDEXAMPLEFILES) \
  $(top_srcdir)/$(hdtbl_test_template)
        $(AM_V_GEN)sed \
          -e "s|[@]abs_top_builddir[@]|$(abs_top_builddir)|g" \
          -e "s|[@]GHOSTSCRIPT[@]|$(GHOSTSCRIPT)|g" \
          $(top_srcdir)/$(hdtbl_test_template) > $@ \
        && chmod +x $@
MOSTLYCLEANFILES += $(hdtbl_TESTS)

# Rule to generate ps and roff files
SUFFIXES += .roff .in .ps .dvi .pdf

.roff.ps:
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
        && $(HDTBLGROFF) -Tps $< >$@

.roff.pdf:
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
        && $(HDTBLGROFF) -Tpdf $< >$@
#       && $(HDTBLGROFF) -I $(doc_builddir) -I $(doc_srcdir) -Tpdf \
#            -dfontpath=$(top_builddir)/font \
#            -dsopath=$(hdtbl_srcdir)/ \
#            -mhdtbl $< >$@

.roff.dvi:
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
        && $(HDTBLGROFF) -Tdvi $< >$@
#       && $(HDTBLGROFF) -I $(doc_builddir) -I $(doc_srcdir) -Tdvi \
#            -dfontpath=$(top_srcdir)/font \
#            -dsopath=$(hdtbl_srcdir)/ \
#            -mhdtbl $< >$@

.in.roff:
        $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
        && sed -e "s|[@]fontdir[@]|$(fontdir)|" \
               -e "s|[@]SED[@]|$(SED)|" \
               -e "s|[@]EGREP[@]|$(EGREP)|" $< >$@

# Programs for the PS fonts
$(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
  grops grn font/devps/stamp contrib/hdtbl/examples/common.roff

# Programs for the DVI fonts
$(HDTBLPROCESSEDEXAMPLEFILESDVI): $(DOC_GNU_EPS) groff troff eqn pic tbl \
  grodvi font/devdvi/stamp contrib/hdtbl/examples/common.roff

# Programs for the PDF files
$(HDTBLPROCESSEDEXAMPLEFILESPDF): $(DOC_GNU_EPS) groff troff eqn pic tbl \
  gropdf font/devpdf/stamp contrib/hdtbl/examples/common.roff

uninstall_groffdirs: uninstall-hdtbl-hook
uninstall-hdtbl-hook:
        if test -d $(DESTDIR)$(hdtblexampledir); then \
          rmdir $(DESTDIR)$(hdtblexampledir); \
        fi

# Local Variables:
# mode: makefile-automake
# fill-column: 72
# End:
# vim: set autoindent filetype=automake textwidth=72:

Reply via email to