This repository has been archived on 2023-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
rchat/Makefile
2022-08-12 21:49:28 +02:00

25 lines
505 B
Makefile

SHELL = /bin/sh
VER = 1.41
INSTALL_DIR =/usr/bin
NAME = rchat
help:
@echo "make install Install ${NAME}."
@echo "make uninstall Uninstall ${NAME}."
@echo "make dist Create ${NAME} ${VER} tar.gz."
install:
cp ${NAME} ${INSTALL_DIR}
chmod +x ${INSTALL_DIR}/${NAME}
uninstall:
rm -r ~/.config/${NAME}
rm ${INSTALL_DIR}/${NAME}
dist:
mkdir -p ${NAME}-${VER}
cp ${NAME} Makefile ${NAME}-${VER}
tar -cf ${NAME}-${VER}.tar ${NAME}-${VER}
gzip ${NAME}-${VER}.tar
rm -r ${NAME}-${VER}