mirror of https://github.com/joan2937/pigpio
Make "make uninstall" uninstall all man pages.
This commit is contained in:
parent
4277ff6d19
commit
2988acaaa6
1
Makefile
1
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 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
|
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/pig*.1
|
||||||
|
rm -f $(DESTDIR)$(mandir)/man1/libpigpio*.1
|
||||||
rm -f $(DESTDIR)$(mandir)/man3/pig*.3
|
rm -f $(DESTDIR)$(mandir)/man3/pig*.3
|
||||||
ifeq ($(DESTDIR),)
|
ifeq ($(DESTDIR),)
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
Loading…
Reference in New Issue