From dc8fd144b692d7cd803cea36f13dce9deb101813 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Wed, 15 May 2013 12:54:26 +0200 Subject: [PATCH] Added uninstall in Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 58a27f4..71df51a 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,11 @@ install: ${PROG} install -m 755 cwm ${DESTDIR}${PREFIX}/bin install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1 install -m 644 cwmrc.5 ${DESTDIR}${MANPREFIX}/man5 + +uninstall + rm -f ${DESTDIR}${PREFIX}/bin/cwm + rm -f ${DESTDIR}${MANPREFIX}/man1/cwm.1 + rm -f ${DESTDIR}${MANPREFIX}/man5/cwmrc.5 release: VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \