summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbwarken <bwarken>2013-04-15 14:47:41 +0000
committerbwarken <bwarken>2013-04-15 14:47:41 +0000
commit848d67e13dd10a3174fd0b68a8719e9875f55c9a (patch)
treeceeaa4657201b817a6af11fd5bc7bcee871dfecb /src
parente909b8c50dabb6ad35c451f258e56d20c47a27d8 (diff)
downloadgroff-848d67e13dd10a3174fd0b68a8719e9875f55c9a.tar.gz
Change $PERLPATH to $PERL.
Diffstat (limited to 'src')
-rw-r--r--src/devices/gropdf/Makefile.sub7
-rw-r--r--src/devices/gropdf/gropdf.pl8
-rw-r--r--src/devices/gropdf/pdfmom.pl5
-rw-r--r--src/utils/afmtodit/Makefile.sub24
4 files changed, 33 insertions, 11 deletions
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 <deri@chuzzlewit.demon.co.uk>
#
# 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 <deri@chuzzlewit.demon.co.uk>
#
# 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 <deri@chuzzlewit.demon.co.uk>
#
# 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 <http://www.gnu.org/licenses/>.
+
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" \