standards for long macro and class names -- first char l.c. for internal
[unix-history] / usr / src / usr.sbin / sendmail / Makefile
CommitLineData
e4cb6b2c 1# @(#)Makefile 8.11 (Berkeley) %G%
63b261a5 2
e4cb6b2c 3VER= XX
aa8df16d 4SUBDIR= src mailstats makemap praliases cf/cf
c4e8d058 5FTPDIR= mastodon:/disks/barad-dur/ftp/sendmail/.
e4cb6b2c
EA
6DISTFILES=sendmail.${VER}.tar.Z sendmail.${VER}.tar.gz \
7 RELEASE_NOTES FAQ KNOWNBUGS
c4e8d058 8FILES= Files.base Files.cf Files.misc Files.xdoc
63b261a5 9
778cf7e5
EA
10tar: sccs-check compile-world run-pax
11
12sccs-check:
a469f8b4
EA
13 (cd src; sccs check)
14 (cd doc/op; sccs check)
15 (cd doc/intro; sccs check)
16 (cd doc/usenix; sccs check)
17 (cd cf; sccs check)
18 (cd cf/m4; sccs check)
19 (cd cf/mailer; sccs check)
20 (cd cf/feature; sccs check)
21 (cd cf/cf; sccs check)
22 (cd cf/ostype; sccs check)
23 (cd cf/domain; sccs check)
778cf7e5
EA
24
25compile-world:
24825cdb 26 (cd src; ${MAKE})
b3498fde 27 (cd doc; PRINTER=ps ${MAKE})
34a4080c 28 (cd doc; chmod 444 op/op.ps intro/intro.ps usenix/usenix.ps)
24825cdb 29 (cd cf/cf; ${MAKE})
778cf7e5
EA
30
31run-pax: Files.base Files.cf Files.misc Files.xdoc
37454ee6 32 chmod +x src/makesendmail
778cf7e5
EA
33 pax -w -x tar -L \
34 -s ",cf/domain/unspecified-domain,sendmail-${VER}/cf/domain/berkeley-only,p" \
35 -s ",^,sendmail-${VER}/," \
36 -f sendmail.${VER}.tar \
5a5dd450 37 `cat ${FILES} | grep -v ^#`
e4cb6b2c 38 gzip -c sendmail.${VER}.tar > sendmail.${VER}.tar.gz
c4e8d058 39 compress sendmail.${VER}.tar
2e5012f9 40
c4e8d058 41ftp: sendmail.${VER}.tar.Z
e4cb6b2c 42 rcp ${DISTFILES} ${FTPDIR}
b1a6b418 43
39d6604d 44.include <bsd.subdir.mk>