From 56c0a0cc104c1d9f74299ae5e3513109dccc80c9 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 21 Dec 2019 14:47:03 -0500 Subject: Add git-fetch-email wrapper --- Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 312c579..2a9d1d9 100644 --- a/Makefile +++ b/Makefile @@ -7,17 +7,20 @@ CFLAGS += ${LIBRESSL_PREFIX:%=-I%/include} LDFLAGS += ${LIBRESSL_PREFIX:%=-L%/lib} LDLIBS = -ltls +BINS = imbox git-fetch-email +MANS = ${BINS:=.1} + -include config.mk -imbox: +all: ${BINS} clean: - rm -f imbox + rm -f ${BINS} -install: imbox imbox.1 +install: ${BINS} ${MANS} install -d ${PREFIX}/bin ${MANDIR}/man1 - install imbox ${PREFIX}/bin - gzip -c imbox.1 > ${MANDIR}/man1/imbox.1.gz + install ${BINS} ${PREFIX}/bin + for man in ${MANS}; do gzip -c $$man > ${MANDIR}/man1/$$man.gz; done uninstall: - rm -f ${PREFIX}/bin/imbox ${MANDIR}/man1/imbox.1.gz + rm -f ${BINS:%=${PREFIX}/bin/%} ${MANS:%=${MANDIR}/man1/%.gz} -- cgit 1.4.1