From 2988acaaa65784ca7633669cbd5a58d3f3ee7bd1 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Fri, 9 Nov 2018 00:32:38 +0000 Subject: [PATCH] Make "make uninstall" uninstall all man pages. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 753a9a3..b73505a 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ uninstall: if which python2; then python2 setup.py install $(PYINSTALLARGS) --record /tmp/pigpio >/dev/null; sed 's!^!$(DESTDIR)!' < /tmp/pigpio | xargs rm -f >/dev/null; fi if which python3; then python3 setup.py install $(PYINSTALLARGS) --record /tmp/pigpio >/dev/null; sed 's!^!$(DESTDIR)!' < /tmp/pigpio | xargs rm -f >/dev/null; fi rm -f $(DESTDIR)$(mandir)/man1/pig*.1 + rm -f $(DESTDIR)$(mandir)/man1/libpigpio*.1 rm -f $(DESTDIR)$(mandir)/man3/pig*.3 ifeq ($(DESTDIR),) ldconfig