Advertisement
alvarovaca

Make uninstall

Oct 31st, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.02 KB | None | 0 0
  1. alvaro@debian:~/emacs$ sudo make uninstall
  2. make -C doc/emacs uninstall-dvi
  3. make[1]: Entering directory '/home/alvaro/emacs/doc/emacs'
  4. for file in emacs.dvi emacs-xtra.dvi; do \
  5. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  6. done
  7. make[1]: Leaving directory '/home/alvaro/emacs/doc/emacs'
  8. make -C doc/lispref uninstall-dvi
  9. make[1]: Entering directory '/home/alvaro/emacs/doc/lispref'
  10. for file in elisp.dvi; do \
  11. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  12. done
  13. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispref'
  14. make -C doc/lispintro uninstall-dvi
  15. make[1]: Entering directory '/home/alvaro/emacs/doc/lispintro'
  16. for file in emacs-lisp-intro.dvi; do \
  17. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  18. done
  19. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispintro'
  20. make -C doc/misc uninstall-dvi
  21. make[1]: Entering directory '/home/alvaro/emacs/doc/misc'
  22. for file in auth.dvi autotype.dvi bovine.dvi calc.dvi cc-mode.dvi cl.dvi dbus.dvi dired-x.dvi ebrowse.dvi ede.dvi ediff.dvi edt.dvi eieio.dvi emacs-mime.dvi epa.dvi erc.dvi ert.dvi eshell.dvi eudc.dvi efaq.dvi eww.dvi flymake.dvi forms.dvi gnus.dvi emacs-gnutls.dvi htmlfontify.dvi idlwave.dvi ido.dvi info.dvi mairix-el.dvi message.dvi mh-e.dvi newsticker.dvi nxml-mode.dvi octave-mode.dvi org.dvi pcl-cvs.dvi pgg.dvi rcirc.dvi remember.dvi reftex.dvi sasl.dvi sc.dvi semantic.dvi ses.dvi sieve.dvi smtpmail.dvi speedbar.dvi srecode.dvi todo-mode.dvi tramp.dvi url.dvi vhdl-mode.dvi vip.dvi viper.dvi widget.dvi wisent.dvi woman.dvi; do \
  23. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  24. done
  25. make[1]: Leaving directory '/home/alvaro/emacs/doc/misc'
  26. make -C doc/emacs uninstall-html
  27. make[1]: Entering directory '/home/alvaro/emacs/doc/emacs'
  28. for file in emacs.html; do \
  29. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  30. done
  31. make[1]: Leaving directory '/home/alvaro/emacs/doc/emacs'
  32. make -C doc/lispref uninstall-html
  33. make[1]: Entering directory '/home/alvaro/emacs/doc/lispref'
  34. for file in elisp.html; do \
  35. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  36. done
  37. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispref'
  38. make -C doc/lispintro uninstall-html
  39. make[1]: Entering directory '/home/alvaro/emacs/doc/lispintro'
  40. for file in emacs-lisp-intro.html; do \
  41. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  42. done
  43. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispintro'
  44. make -C doc/misc uninstall-html
  45. make[1]: Entering directory '/home/alvaro/emacs/doc/misc'
  46. for file in auth.html autotype.html bovine.html calc.html cc-mode.html cl.html dbus.html dired-x.html ebrowse.html ede.html ediff.html edt.html eieio.html emacs-mime.html epa.html erc.html ert.html eshell.html eudc.html efaq.html eww.html flymake.html forms.html gnus.html emacs-gnutls.html htmlfontify.html idlwave.html ido.html info.html mairix-el.html message.html mh-e.html newsticker.html nxml-mode.html octave-mode.html org.html pcl-cvs.html pgg.html rcirc.html remember.html reftex.html sasl.html sc.html semantic.html ses.html sieve.html smtpmail.html speedbar.html srecode.html todo-mode.html tramp.html url.html vhdl-mode.html vip.html viper.html widget.html wisent.html woman.html; do \
  47. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  48. done
  49. make[1]: Leaving directory '/home/alvaro/emacs/doc/misc'
  50. make -C doc/emacs uninstall-pdf
  51. make[1]: Entering directory '/home/alvaro/emacs/doc/emacs'
  52. for file in emacs.pdf emacs-xtra.pdf; do \
  53. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  54. done
  55. make[1]: Leaving directory '/home/alvaro/emacs/doc/emacs'
  56. make -C doc/lispref uninstall-pdf
  57. make[1]: Entering directory '/home/alvaro/emacs/doc/lispref'
  58. for file in elisp.pdf; do \
  59. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  60. done
  61. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispref'
  62. make -C doc/lispintro uninstall-pdf
  63. make[1]: Entering directory '/home/alvaro/emacs/doc/lispintro'
  64. for file in emacs-lisp-intro.pdf; do \
  65. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  66. done
  67. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispintro'
  68. make -C doc/misc uninstall-pdf
  69. make[1]: Entering directory '/home/alvaro/emacs/doc/misc'
  70. for file in auth.pdf autotype.pdf bovine.pdf calc.pdf cc-mode.pdf cl.pdf dbus.pdf dired-x.pdf ebrowse.pdf ede.pdf ediff.pdf edt.pdf eieio.pdf emacs-mime.pdf epa.pdf erc.pdf ert.pdf eshell.pdf eudc.pdf efaq.pdf eww.pdf flymake.pdf forms.pdf gnus.pdf emacs-gnutls.pdf htmlfontify.pdf idlwave.pdf ido.pdf info.pdf mairix-el.pdf message.pdf mh-e.pdf newsticker.pdf nxml-mode.pdf octave-mode.pdf org.pdf pcl-cvs.pdf pgg.pdf rcirc.pdf remember.pdf reftex.pdf sasl.pdf sc.pdf semantic.pdf ses.pdf sieve.pdf smtpmail.pdf speedbar.pdf srecode.pdf todo-mode.pdf tramp.pdf url.pdf vhdl-mode.pdf vip.pdf viper.pdf widget.pdf wisent.pdf woman.pdf; do \
  71. rm -f "/opt/emacs/share/doc/emacs/${file}"; \
  72. done
  73. make[1]: Leaving directory '/home/alvaro/emacs/doc/misc'
  74. make -C doc/emacs uninstall-ps
  75. make[1]: Entering directory '/home/alvaro/emacs/doc/emacs'
  76. ext= ; [ -n "/usr/bin/gzip" ] && ext=.gz; \
  77. for file in emacs.ps emacs-xtra.ps; do \
  78. rm -f "/opt/emacs/share/doc/emacs/${file}${ext}"; \
  79. done
  80. make[1]: Leaving directory '/home/alvaro/emacs/doc/emacs'
  81. make -C doc/lispref uninstall-ps
  82. make[1]: Entering directory '/home/alvaro/emacs/doc/lispref'
  83. ext= ; [ -n "/usr/bin/gzip" ] && ext=.gz; \
  84. for file in elisp.ps; do \
  85. rm -f "/opt/emacs/share/doc/emacs/${file}${ext}"; \
  86. done
  87. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispref'
  88. make -C doc/lispintro uninstall-ps
  89. make[1]: Entering directory '/home/alvaro/emacs/doc/lispintro'
  90. ext= ; [ -n "/usr/bin/gzip" ] && ext=.gz; \
  91. for file in emacs-lisp-intro.ps; do \
  92. rm -f "/opt/emacs/share/doc/emacs/${file}${ext}"; \
  93. done
  94. make[1]: Leaving directory '/home/alvaro/emacs/doc/lispintro'
  95. make -C doc/misc uninstall-ps
  96. make[1]: Entering directory '/home/alvaro/emacs/doc/misc'
  97. ext= ; [ -n "/usr/bin/gzip" ] && ext=.gz; \
  98. for file in auth.ps autotype.ps bovine.ps calc.ps cc-mode.ps cl.ps dbus.ps dired-x.ps ebrowse.ps ede.ps ediff.ps edt.ps eieio.ps emacs-mime.ps epa.ps erc.ps ert.ps eshell.ps eudc.ps efaq.ps eww.ps flymake.ps forms.ps gnus.ps emacs-gnutls.ps htmlfontify.ps idlwave.ps ido.ps info.ps mairix-el.ps message.ps mh-e.ps newsticker.ps nxml-mode.ps octave-mode.ps org.ps pcl-cvs.ps pgg.ps rcirc.ps remember.ps reftex.ps sasl.ps sc.ps semantic.ps ses.ps sieve.ps smtpmail.ps speedbar.ps srecode.ps todo-mode.ps tramp.ps url.ps vhdl-mode.ps vip.ps viper.ps widget.ps wisent.ps woman.ps; do \
  99. rm -f "/opt/emacs/share/doc/emacs/${file}${ext}"; \
  100. done
  101. make[1]: Leaving directory '/home/alvaro/emacs/doc/misc'
  102. rm -f "/opt/emacs/include/emacs-module.h"
  103. make -C lib-src uninstall
  104. make[1]: Entering directory '/home/alvaro/emacs/lib-src'
  105. for file in etags ctags emacsclient ebrowse; do \
  106. rm -f "/opt/emacs/bin"/` \
  107. echo ${file} | sed -e 's/$//' -e 's,x,x,' \
  108. `; \
  109. done
  110. if [ -d "/opt/emacs/libexec/emacs/27.1/x86_64-pc-linux-gnu" ]; then \
  111. cd "/opt/emacs/libexec/emacs/27.1/x86_64-pc-linux-gnu" && \
  112. rm -f hexl rcs2log; \
  113. fi
  114. make[1]: Leaving directory '/home/alvaro/emacs/lib-src'
  115. unset CDPATH; \
  116. for dir in "/opt/emacs/share/emacs/27.1/lisp" "/opt/emacs/share/emacs/27.1/etc" ; do \
  117. if [ -d "${dir}" ]; then \
  118. case `cd "${dir}" ; /bin/pwd` in \
  119. "`cd . ; /bin/pwd`"* ) ;; \
  120. * ) rm -rf "${dir}" ;; \
  121. esac ; \
  122. case "${dir}" in \
  123. "/opt/emacs/share/emacs/27.1"/* ) \
  124. rm -rf "/opt/emacs/share/emacs/27.1" \
  125. ;; \
  126. esac ; \
  127. fi ; \
  128. done
  129. rm -rf "/opt/emacs/libexec/emacs/27.1"
  130. thisdir=`/bin/pwd`; \
  131. (info_misc=`make --no-print-directory -s -C doc/misc echo-info`; \
  132. if cd "/opt/emacs/share/info"; then \
  133. for elt in emacs.info eintr.info elisp.info ${info_misc}; do \
  134. (cd "${thisdir}"; \
  135. : --remove --info-dir="/opt/emacs/share/info" "/opt/emacs/share/info/$elt"); \
  136. if [ -n "/usr/bin/gzip" ]; then \
  137. ext=.gz; else ext=; fi; \
  138. rm -f $elt$ext $elt-[1-9]$ext $elt-[1-9][0-9]$ext; \
  139. done; \
  140. fi)
  141. (if [ -n "/usr/bin/gzip" ]; then \
  142. ext=.gz; else ext=; fi; \
  143. if cd ./doc/man; then \
  144. for page in *.1; do \
  145. rm -f "/opt/emacs/share/man/man1"/`echo "${page}" | sed -e 's/\.1$//' -e 's,x,x,'`.1$ext; done; \
  146. fi)
  147. rm -f "/opt/emacs/bin/`echo emacs | sed 's,x,x,'`" "/opt/emacs/bin/`echo emacs-27.1 | sed 's,x,x,'`"
  148. (if cd "/opt/emacs/share/icons"; then \
  149. rm -f hicolor/*x*/apps/"`echo emacs | sed 's,x,x,'`.png" \
  150. "hicolor/scalable/apps/`echo emacs | sed 's,x,x,'`.svg" \
  151. "hicolor/scalable/apps/`echo emacs | sed 's,x,x,'`.ico" \
  152. "hicolor/scalable/mimetypes/`echo emacs | sed 's,x,x,'`-document.svg" \
  153. "hicolor/scalable/mimetypes/`echo emacs | sed 's,x,x,'`-document23.svg"; \
  154. fi)
  155. rm -f "/opt/emacs/share/applications/`echo emacs | sed 's,x,x,'`.desktop"
  156. rm -f "/opt/emacs/share/metainfo/`echo emacs | sed 's,x,x,'`.appdata.xml"
  157. rm -f "/opt/emacs/lib/systemd/user/`echo emacs | sed 's,x,x,'`.service"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement