From d7f25cfda5806cb67dba012f0f9c715a9dcd65e4 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 19 Oct 2013 12:09:13 -0400 Subject: * maintMakefile: Accept variable overrides from the environment. --- maintMakefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/maintMakefile b/maintMakefile index 0e0de8f..f8bb678 100644 --- a/maintMakefile +++ b/maintMakefile @@ -6,10 +6,18 @@ BUGLIST := bug-make@gnu.org # These are related to my personal setup. GPG_FINGERPRINT := 6338B6D4 -SRCROOTDIR := $(HOME)/src -GNULIBDIR := $(SRCROOTDIR)/gnulib -MAKEWEBDIR := $(SRCROOTDIR)/make/make-web -GNUWEBDIR := $(SRCROOTDIR)/gnu-www + +# SRCROOTDIR is just a handy location to keep source files in +SRCROOTDIR ?= $(HOME)/src + +# Where the gnulib project has been locally cloned +GNULIBDIR ?= $(SRCROOTDIR)/gnulib + +# Where to put the CVS checkout of the GNU web repository +GNUWEBDIR ?= $(SRCROOTDIR)/gnu-www + +# Where to put the CVS checkout of the GNU make web repository +MAKEWEBDIR ?= $(SRCROOTDIR)/make/make-web # We like mondo-warnings! AM_CFLAGS += -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wbad-function-cast -- cgit v1.2.3