diff f-demime/Makefile @ 3:7a6cd16689f5

f-demime/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 May 2023 06:41:20 +0000
parents 05651a1b8ba8
children
line wrap: on
line diff
--- a/f-demime/Makefile	Sat May 06 06:33:26 2023 +0000
+++ b/f-demime/Makefile	Sat May 06 06:41:20 2023 +0000
@@ -4,6 +4,7 @@
 OBJS=	attach_out.o b2q_in.o b2q_out.o base64.o finish.o header.o header_end.o\
 	initconv.o main.o msgstate.o ptext_in.o ptext_out.o qpdec.o
 HDRS=	defs.h
+INSTBIN=/usr/local/bin
 
 all:	${PROG}
 
@@ -12,5 +13,8 @@
 
 ${OBJS}: ${HDRS}
 
+install:
+	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}
+
 clean:
 	rm -f *.o ${PROG}