diff options
author | martin f. krafft <madduck@lapse.madduck.net> | 2006-06-02 12:53:02 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-06-02 12:53:02 +0200 |
commit | 4e9b5839284d0a16088d57f5f625c8591d12ed8f (patch) | |
tree | 0a1bea3237449775715862fc652a64df550825e6 | |
parent | CPPFLAGS gets used automatically on implicit rules. (diff) | |
download | mdadm-4e9b5839284d0a16088d57f5f625c8591d12ed8f.tar.xz mdadm-4e9b5839284d0a16088d57f5f625c8591d12ed8f.zip |
Allow CONFFILE2 to be overridden during make invocation.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |