iron/Makefile
speedie fc0a6724c4 this commit is bound to break every single existing iron patch, but it's
a massive cleanup and most patches didn't apply anyway.
2023-04-09 01:17:27 +02:00

25 lines
549 B
Makefile

SHELL = /bin/sh
NAME = iron
VER = 1.3
include options.mk
help:
@echo "make install Install ${NAME}."
@echo "make uninstall Uninstall ${NAME}."
install:
cp ${NAME} ${PREFIX}${DESTDIR}/bin
chmod +x ${PREFIX}${DESTDIR}/bin/${NAME}
uninstall:
rm -rf ~/.config/${NAME}
rm -f ${PREFIX}${DESTDIR}/bin/${NAME}
dist:
mkdir -p ${NAME}-${VER}
cp ${NAME} ${NAME}.docs.html ${NAME}.docs.md ${NAME}.md LICENSE Makefile ${NAME}-${VER}
tar -cf ${NAME}-${VER}.tar ${NAME}-${VER}
gzip ${NAME}-${VER}.tar
rm -rf ${NAME}-${VER}.tar ${NAME}-${VER}