bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 18/21] Remove hard coded variables for tools (eg: SHELL).


From: John Darrington
Subject: [PATCH 18/21] Remove hard coded variables for tools (eg: SHELL).
Date: Sun, 12 Jan 2014 12:00:31 +0100

These served no purpose except to frustrate users on systems where the
tools are in unusual places.

* base/all-arch.mak base/unixhead.mak: Remove assignments to utility variables.
---
 base/all-arch.mak |   22 ----------------------
 base/unixhead.mak |    2 --
 2 files changed, 24 deletions(-)

diff --git a/base/all-arch.mak b/base/all-arch.mak
index b44d6a5..f19756a 100644
--- a/base/all-arch.mak
+++ b/base/all-arch.mak
@@ -248,28 +248,6 @@ JSRCDIR                    = $(SRCDIR)/jpeg
 PNGSRCDIR              = $(SRCDIR)/libpng
 ZSRCDIR                        = $(SRCDIR)/zlib
 
-# Use this to provide alternate targets to make, instead of the default
-# all.  It can also be used to pass additional arguments to child makes,
-# e.g., -j12 for 12 parallel jobs with GNU make.
-TARGETS                        =
-
-#=======================================================================
-
-BINDIR                 = /usr/local/bin
-
-CHMOD                  = chmod
-
-CP                     = /bin/cp -p
-CP                     = rcp -p
-
-MV                     = /bin/mv
-
-RM                     = /bin/rm -f
-
-SHELL                  = /bin/sh
-
-#=======================================================================
-
 all:
        $(MAKE) $(ARGS)
 
diff --git a/base/unixhead.mak b/base/unixhead.mak
index 67b5434..16b31ab 100644
--- a/base/unixhead.mak
+++ b/base/unixhead.mak
@@ -47,10 +47,8 @@ XEAUX=
 
 # Define the current directory prefix and command invocations.
 
-CAT=cat
 D=/
 EXP=
-SHELL=/bin/sh
 SH=$(SHELL)
 
 # Define generic commands.
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]