summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2012-09-20 18:18:34 +0000
committerwl <wl>2012-09-20 18:18:34 +0000
commit61d103280358052d9009d1eabb764c23b2c47fa1 (patch)
tree050500e6b6ddb79993d55189ddc211e2b2c1496a
parent8558eba276ac4fe96e37a5f75b1c2d24d2e5385b (diff)
downloadgroff-61d103280358052d9009d1eabb764c23b2c47fa1.tar.gz
Simplify enviroment handling.
Suggested by Ivan Shmakov <oneingray@gmail.com>. * Makefile.sub (GROFF): Don't use export.
-rw-r--r--contrib/hdtbl/ChangeLog10
-rw-r--r--contrib/hdtbl/Makefile.sub11
2 files changed, 14 insertions, 7 deletions
diff --git a/contrib/hdtbl/ChangeLog b/contrib/hdtbl/ChangeLog
index 5c46f8ee..04d05a18 100644
--- a/contrib/hdtbl/ChangeLog
+++ b/contrib/hdtbl/ChangeLog
@@ -1,3 +1,11 @@
+2012-09-20 Werner LEMBERG <wl@gnu.org>
+
+ Simplify enviroment handling.
+
+ Suggested by Ivan Shmakov <oneingray@gmail.com>.
+
+ * Makefile.sub (GROFF): Don't use export.
+
2011-01-17 Werner LEMBERG <wl@gnu.org>
* examples/color_nested_tables.roff: Fix output.
@@ -281,7 +289,7 @@
* Import of hdtbl 0.91 (with some further modifications). Still
many rough edges.
-Copyright 2006, 2008-2011
+Copyright 2006, 2008-2012
Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff --git a/contrib/hdtbl/Makefile.sub b/contrib/hdtbl/Makefile.sub
index a580b14f..f894a8e3 100644
--- a/contrib/hdtbl/Makefile.sub
+++ b/contrib/hdtbl/Makefile.sub
@@ -1,4 +1,4 @@
-# Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009, 2010, 2012 Free Software Foundation, Inc.
# Written by Werner Lemberg (wl@gnu.org)
#
# This file is part of groff.
@@ -32,11 +32,10 @@ FFLAG=-F$(top_builddir)/font -F$(top_srcdir)/font
TFLAG=-M$(top_builddir)/tmac -M$(top_srcdir)/tmac -M$(srcdir)
PFLAG=-t -p -e -U
-GROFF=GROFF_COMMAND_PREFIX=''; \
- export GROFF_COMMAND_PREFIX; \
- GROFF_BIN_PATH=$(GROFF_BIN_PATH); \
- export GROFF_BIN_PATH; \
- $(GROFFBIN) $(FFLAG) $(TFLAG) $(PFLAG)
+GROFF=\
+ GROFF_COMMAND_PREFIX= \
+ GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
+ $(GROFFBIN) $(FFLAG) $(TFLAG) $(PFLAG)
MAN7=\
groff_hdtbl.n