From 848d67e13dd10a3174fd0b68a8719e9875f55c9a Mon Sep 17 00:00:00 2001 From: bwarken Date: Mon, 15 Apr 2013 14:47:41 +0000 Subject: Change $PERLPATH to $PERL. --- src/devices/gropdf/Makefile.sub | 7 ++++--- src/devices/gropdf/gropdf.pl | 8 ++++---- src/devices/gropdf/pdfmom.pl | 5 +++-- src/utils/afmtodit/Makefile.sub | 24 ++++++++++++++++++++++-- 4 files changed, 33 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/devices/gropdf/Makefile.sub b/src/devices/gropdf/Makefile.sub index b43d2f09..96aa4673 100644 --- a/src/devices/gropdf/Makefile.sub +++ b/src/devices/gropdf/Makefile.sub @@ -1,4 +1,5 @@ -# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 +# Free Software Foundation, Inc. # Written by Deri James # # This file is part of groff. @@ -40,7 +41,7 @@ gropdf: gropdf.pl $(SH_DEPS_SED_SCRIPT) $(RM) $@ sed -f $(SH_DEPS_SED_SCRIPT) \ -e "s|@VERSION@|$(version)$(revision)|" \ - -e "s|@PERLPATH@|$(PERLPATH)|" \ + -e "s|@PERL@|$(PERL)|" \ -e "s|@GROFF_FONT_DIR@|$(fontpath)|" \ -e "s|@RT_SEP@|$(RT_SEP)|" $(srcdir)/gropdf.pl >$@ chmod +x $@ @@ -49,7 +50,7 @@ pdfmom: pdfmom.pl $(SH_DEPS_SED_SCRIPT) $(RM) $@ sed -f $(SH_DEPS_SED_SCRIPT) \ -e "s|@VERSION@|$(version)$(revision)|" \ - -e "s|@PERLPATH@|$(PERLPATH)|" $(srcdir)/pdfmom.pl >$@ + -e "s|@PERL@|$(PERL)|" $(srcdir)/pdfmom.pl >$@ chmod +x $@ install_data: diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl index 9a8288c0..078ebf23 100644 --- a/src/devices/gropdf/gropdf.pl +++ b/src/devices/gropdf/gropdf.pl @@ -1,10 +1,10 @@ -#!@PERLPATH@ -w +#!@PERL@ -w # # gropdf : PDF post processor for groff -# Deri James : 4th May 2009 +# Last update : 15 Apr 2013 # - -# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 +# Free Software Foundation, Inc. # Written by Deri James # # This file is part of groff. diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl index 8ba3c614..c2bb297d 100644 --- a/src/devices/gropdf/pdfmom.pl +++ b/src/devices/gropdf/pdfmom.pl @@ -1,10 +1,11 @@ -#!@PERLPATH@ -w +#!@PERL@ -w # # pdfmom : Frontend to run groff -mom to produce PDFs # Deri James : Friday 16 Mar 2012 # -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012,2013 +# Free Software Foundation, Inc. # Written by Deri James # # This file is part of groff. diff --git a/src/utils/afmtodit/Makefile.sub b/src/utils/afmtodit/Makefile.sub index ce6d6e2c..948796dd 100644 --- a/src/utils/afmtodit/Makefile.sub +++ b/src/utils/afmtodit/Makefile.sub @@ -1,11 +1,31 @@ +# Copyright (C) 2013 +# Free Software Foundation, Inc. +# +# Last update: 15 Apr 2013 +# +# 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 . + MAN1=afmtodit.n MOSTLYCLEANADD=afmtodit all: afmtodit afmtodit: afmtodit.pl afmtodit.tables - if test -n "$(PERLPATH)"; then \ - sed -e "s|/usr/bin/perl|$(PERLPATH)|" \ + if test -n "$(PERL)"; then \ + sed -e "s|/usr/bin/perl|$(PERL)|" \ -e "s|@VERSION@|$(version)$(revision)|" \ -e "s|@FONTDIR@|$(fontdir)|" \ -e "/@afmtodit.tables@/ r $(srcdir)/afmtodit.tables" \ -- cgit v1.2.1