Status: ok Make it explicit in Makefile that mail command can be configured. Also make it easier to change warning flags without editing Makefile ----------- Diffstat output ------------ ./ChangeLog | 4 ++++ ./Makefile | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff ./ChangeLog~current~ ./ChangeLog --- ./ChangeLog~current~ 2003-07-29 10:11:24.000000000 +1000 +++ ./ChangeLog 2003-07-29 10:11:24.000000000 +1000 @@ -3,6 +3,10 @@ Changes Prior to this release larger arrays. - Explicitly flag spare devices as 'spare' in --detail and --examine output. Previously they simply had no flags lists. + - Make MailCmd (for monitor) configurable in Makefile, and default + to "/usr/sbin/sendmail -t". Also split out the warning related + flags into CWFLAGS for easier build configurability. + Changes Prior to 1.2.0 release - Fix bug where --daemonise required an argument. - In --assemble --verbose, print appropriate message if device is diff ./Makefile~current~ ./Makefile --- ./Makefile~current~ 2003-07-29 10:11:24.000000000 +1000 +++ ./Makefile 2003-07-29 10:11:24.000000000 +1000 @@ -34,9 +34,11 @@ UCLIBC_GCC = i386-uclibc-gcc CC = gcc CXFLAGS = -ggdb +CWFLAGS = -Wall -Werror -Wstrict-prototypes SYSCONFDIR = /etc CONFFILE = $(SYSCONFDIR)/mdadm.conf -CFLAGS = -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) +MAILCMD =/usr/sbin/sendmail -t +CFLAGS = $(CWFLAGS) -DCONFFILE=\"$(CONFFILE)\" $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" # If you want a static binary, you might uncomment these # LDFLAGS = -static