summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-07-19 20:35:33 +0200
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-07-19 20:35:33 +0200
commit1c1e4c5ad57613bc1cc93c007df45bd76def755a (patch)
tree8655377aa53ce0d0f6d7002055c8898682ca2259 /Makefile
parentcfdde2eecd8c5deb53cfafc2b1922a3a76480bb1 (diff)
downloadvdr-plugin-epgsearch-1c1e4c5ad57613bc1cc93c007df45bd76def755a.tar.gz
vdr-plugin-epgsearch-1c1e4c5ad57613bc1cc93c007df45bd76def755a.tar.bz2
default path to sendmail is now '/usr/sbin/sendmail'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 039605f..7a3506d 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,10 @@ ifndef AUTOCONFIG
endif
+### the sendmail executable to use when epgsearch is configured to use the
+### sendmail method for sending mail
+SENDMAIL = /usr/sbin/sendmail
+
###
### CONFIG END
### do not edit below this line if you don't know what you do ;-)
@@ -118,11 +122,15 @@ PACKAGE = vdr-$(ARCHIVE)
INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
#INCLUDES += -I$(VDRDIR)/include
-DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-DEFINES1 += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(MAINMENUSHORTCUT)"'
-DEFINES2 += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN2)"'
-DEFINES3 += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN3)"'
-DEFINES4 += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN4)"'
+EPGSEARCH_DEFINES += -D_GNU_SOURCE
+ifneq ($(SENDMAIL),)
+EPGSEARCH_DEFINES += -DSENDMAIL='"$(SENDMAIL)"'
+endif
+DEFINES += $(EPGSEARCH_DEFINES) -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES1 += $(EPGSEARCH_DEFINES) -DPLUGIN_NAME_I18N='"$(MAINMENUSHORTCUT)"'
+DEFINES2 += $(EPGSEARCH_DEFINES) -DPLUGIN_NAME_I18N='"$(PLUGIN2)"'
+DEFINES3 += $(EPGSEARCH_DEFINES) -DPLUGIN_NAME_I18N='"$(PLUGIN3)"'
+DEFINES4 += $(EPGSEARCH_DEFINES) -DPLUGIN_NAME_I18N='"$(PLUGIN4)"'
### The object files (add further files here):