commit 4bc0b567c7798de024e2bc3627a056ff8c68b394
parent 1906c66c95ad9a54cf372c6218d0e287eccafa6b
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 10 Aug 2024 09:36:34 +0200
Properly integrate catpoint-wrap in makefile.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -19,7 +19,7 @@ CATPOINT_LDFLAGS = ${LDFLAGS} -lncursesw
SRC = ${NAME}.c
MAN1 = ${NAME}.1
-BIN = ${NAME} catpoint-animation
+BIN = ${NAME}
OBJ = ${SRC:.c=.o}
all: catpoint
@@ -56,12 +56,15 @@ install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/${BIN}
+ cp -f catpoint-wrap ${DESTDIR}${PREFIX}/bin
+ chmod 755 ${DESTDIR}${PREFIX}/bin/catpoint-wrap
mkdir -p ${DESTDIR}${MANPREFIX}/man1
cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1/${MAN1}
chmod 644 ${DESTDIR}${MANPREFIX}/man1/${MAN1}
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${BIN}
+ rm -f ${DESTDIR}${PREFIX}/bin/catpoint-wrap
rm -f ${DESTDIR}${MANPREFIX}/man1/${MAN1}
.PHONY: all options clean dist install uninstall