Skip to content

Commit e5c74d9

Browse files
committed
build: Uninstall installed manpages on make uninstall
1 parent b43c6d4 commit e5c74d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ install: all
4949
uninstall:
5050
rm -f $(addprefix $(DESTDIR)$(PREFIX)/bin/,$(bins))
5151
rm -f "$(DESTDIR)${PREFIX}/lib/systemd/user/clipmenud.service"
52+
rm -f $(addprefix $(DESTDIR)$(mandir)/man1/,$(man1_files))
53+
rm -f $(addprefix $(DESTDIR)$(mandir)/man5/,$(man5_files))
5254

5355
clean:
5456
rm -f src/*.o src/*~ $(addprefix src/,$(bins))

0 commit comments

Comments
 (0)