Skip to content

Commit

Permalink
Add 'acceptutils-install' target.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Dec 1, 2018
1 parent 26d21d1 commit be5f827
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Expand Up @@ -4,8 +4,13 @@ SHELL=/bin/sh

default: it

ACCEPTUTILS_BIN=reup authup checknotroot \
fixsmtpio qmail-qfilter-addtlsheader
ACCEPTUTILS_MAN=reup.8 authup.8 checknotroot.8 \
fixsmtpio.8 qmail-qfilter-addtlsheader.8

acceptutils: \
reup authup checknotroot fixsmtpio qmail-qfilter-addtlsheader
${ACCEPTUTILS_BIN} ${ACCEPTUTILS_MAN}

acceptutils_base64.o: \
compile99 acceptutils_base64.c acceptutils_base64.h
Expand All @@ -24,6 +29,11 @@ acceptutils_unistd.o: \
compile99 acceptutils_unistd.c acceptutils_unistd.h
./compile99 acceptutils_unistd.c

acceptutils-install: \
acceptutils
cp ${ACCEPTUTILS_BIN} `head -1 conf-qmail`/bin && \
cp ${ACCEPTUTILS_MAN} `head -1 conf-qmail`/man/man8

acceptutils-memcheck: \
test_fixsmtpio
valgrind --track-origins=yes --leak-check=full --error-exitcode=99 ./test_fixsmtpio >/dev/null
Expand Down

0 comments on commit be5f827

Please sign in to comment.