* maintMakefile: Accept variable overrides from the environment.
authorPaul Smith <psmith@gnu.org>
Sat, 19 Oct 2013 16:09:13 +0000 (12:09 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 19 Oct 2013 16:09:13 +0000 (12:09 -0400)
maintMakefile

index 0e0de8fb5b25d41a4efeec29411b6006347259e2..f8bb678a27dd0d49f254943ca330a0f6e18708b8 100644 (file)
@@ -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