Skip to content

Commit e486951

Browse files
committed
Add make uninstall.
1 parent 2b2fa86 commit e486951

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ install:
3535
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg
3636
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/pixmaps/${APP}.svg
3737

38+
uninstall:
39+
rm -Rf "${DEST_APP}"
40+
rm -f "${DESTDIR}/usr/bin/${APP}"
41+
rm -f "${DEST_SHARE}/applications/${APP}.desktop"
42+
rm -f "${DEST_SHARE}/icons/hicolor/24x24/apps/${APP}.png"
43+
rm -f "${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg"
44+
rm -f "${DEST_SHARE}/pixmaps/${APP}.svg"
45+
3846
clean:
3947
rm -rf debian/${APP}
4048
rm -f ../${APP}_*.deb ../${APP}_*.asc ../${APP}_*.dsc ../${APP}*.changes

0 commit comments

Comments
 (0)