summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Wong <waf@xilef.org>2016-12-12 01:29:06 -0800
committerFelix Wong <waf@xilef.org>2016-12-12 01:38:46 -0800
commit9b26abba399a9b6d779713033693b631e5084458 (patch)
tree17cdca937216f16e2fc6d02c7476656a9b2e5c7f
parent18f39b5ac22fe0ab85203f7a471f511d2bf96e28 (diff)
downloadpianobar-9b26abba399a9b6d779713033693b631e5084458.tar.gz
pianobar-9b26abba399a9b6d779713033693b631e5084458.tar.bz2
pianobar-9b26abba399a9b6d779713033693b631e5084458.zip
add uninstall into makefile
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc41790..1445575 100644
--- a/Makefile
+++ b/Makefile
@@ -139,4 +139,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