Skip to content
Permalink
Browse files

Add 'acceptutils-install' target.

  • Loading branch information...
schmonz committed Dec 1, 2018
1 parent 26d21d1 commit be5f827e67a6a59585b282ee09b993a05670d593
Showing with 11 additions and 1 deletion.
  1. +11 −1 Makefile
@@ -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
@@ -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

0 comments on commit be5f827

Please sign in to comment.
You can’t perform that action at this time.