From 4e9b5839284d0a16088d57f5f625c8591d12ed8f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 2 Jun 2006 20:53:02 +1000 Subject: Allow CONFFILE2 to be overridden during make invocation. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3a652be..73fdf58 100644 --- a/Makefile +++ b/Makefile @@ -49,8 +49,10 @@ endif SYSCONFDIR = /etc CONFFILE = $(SYSCONFDIR)/mdadm.conf +CONFFILE2 = $(SYSCONFDIR)/mdadm/mdadm.conf MAILCMD =/usr/sbin/sendmail -t -CFLAGS = $(CWFLAGS) -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" +CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\" +CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) # If you want a static binary, you might uncomment these # LDFLAGS = -static -- cgit