]>
git.sthu.org Git - smailq.git/blob - Makefile
3 CFLAGS
= -std
=c99
-pedantic
-Wall
-Wextra
5 # Where the script binary should go
6 BINPATH
= $(DESTDIR
)$(PREFIX
)/bin
7 SBINPATH
= $(DESTDIR
)$(PREFIX
)/sbin
8 MANPATH
= $(DESTDIR
)$(PREFIX
)/share
/man
/man1
9 SHAREDIR
= $(DESTDIR
)$(PREFIX
)/share
/smailq
10 CONFFILE
= $(SHAREDIR
)/smailq.conf.sample
11 ######################################################################
16 mkdir
-p
$(BINPATH
) $(SBINPATH
) $(MANPATH
) $(SHAREDIR
)
17 install -m
0755 smailq
$(BINPATH
)/smailq
18 install -m
0755 mailq
$(BINPATH
)/mailq
$(BIN_SUFFIX
)
19 install -m
0755 sendmail
$(SBINPATH
)/sendmail
$(BIN_SUFFIX
)
20 install -m
0644 smailq.conf
$(CONFFILE
)
21 install -m
0644 smailq
.1 $(MANPATH
)/smailq
.1
25 smailq
.1: smailq.docbook
27 #groff -t -e -mandoc -Tps smailq.1 > smailq.ps