summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Wong <waf@xilef.org>2016-12-12 01:29:06 -0800
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commitf3ccc0628f3340e1f77eb38084ece2521db9d737 (patch)
treeee8224c457f031b4b88458dd032b4636a5eeedac /Makefile
parent8576aa5186a2cdd4f4bf44ec34c80e90d04de969 (diff)
downloadpianobar-windows-f3ccc0628f3340e1f77eb38084ece2521db9d737.tar.gz
pianobar-windows-f3ccc0628f3340e1f77eb38084ece2521db9d737.tar.bz2
pianobar-windows-f3ccc0628f3340e1f77eb38084ece2521db9d737.zip
add uninstall into makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0033660..f1dea03 100644
--- a/Makefile
+++ b/Makefile
@@ -154,4 +154,13 @@ install-libpiano:
install -d ${DESTDIR}${INCDIR}/
install -m644 src/libpiano/piano.h ${DESTDIR}${INCDIR}/
-.PHONY: install install-libpiano test debug all
+uninstall:
+ $(RM) ${DESTDIR}/${BINDIR}/pianobar \
+ ${DESTDIR}/${MANDIR}/man1/pianobar.1 \
+ ${DESTDIR}/${LIBDIR}/libpiano.so.0.0.0 \
+ ${DESTDIR}/${LIBDIR}/libpiano.so.0 \
+ ${DESTDIR}/${LIBDIR}/libpiano.so \
+ ${DESTDIR}/${LIBDIR}/libpiano.a \
+ ${DESTDIR}/${INCDIR}/piano.h
+
+.PHONY: install install-libpiano uninstall test debug all