Name

confSRCDIR

Synopsis

All the auxiliary programs that are supplied with sendmail (such as mail.local and praliases) need pieces of source from the sendmail source directory to compile. The location of that directory defaults to ../../sendmail.[26] Should you need to relocate that source tree (as you might, for example, if you wished to do extensive source modification in a new directory) you can redefine the source location with this confSRCDIR macro:

define(`confSRCDIR', `../../newsendmail')

Note that confSRCDIR gives a value to the SRCDIR= Makefile directive, and that make is run inside an obj... directory, hence the ../../ prefixing newsendmail.

Should you need to relocate the sendmail source to a totally different disk or machine, you must define confSRCDIR as a full pathname:

define(`confSRCDIR', `/usr/local/devel/sendmail/custome1.5/src')

Be careful never to define confSRCDIR under a temporary mount point, such as tmp_mnt, because that mount point might not exist the next time you try to Build. And note that SRCDIR= is always the current directory for sendmail, so nothing special needs to be done to Build if you move the source.

[26] Prior to V8.10 the default was ../../src.

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.