[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b853739 17/35: Add uninstall rules to Makefiles.
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b853739 17/35: Add uninstall rules to Makefiles. |
Date: |
Sun, 22 Mar 2015 09:27:02 +0000 |
branch: externals/auctex
commit b853739ab866275fa27f115b8fd117f1e5e14d92
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Add uninstall rules to Makefiles.
* doc/install.texi: Mention uninstallation in menus.
(Build/install and uninstall): Add "Uninstallation" index entry.
Document uninstallation process.
* Makefile.in: Update copyright years.
(.PHONY): Add uninstall rule.
(uninstall): New rule.
* doc/Makefile.in: Update copyright years.
(.PHONY): Add uninstall rule.
(uninstall): New rule.
* latex/Makefile.in: Update copyright years.
(.PHONY): Declare phony targets.
(install-texmf-doc): Do not ignore errors in this rule.
(uninstall): New rule.
---
ChangeLog | 19 +++++++++++++++++++
Makefile.in | 19 +++++++++++++++++--
doc/Makefile.in | 14 ++++++++++++--
doc/install.texi | 26 ++++++++++++++++++++++----
latex/Makefile.in | 14 ++++++++++----
5 files changed, 80 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b9e1a84..984547e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2015-03-07 Mos� Giordano <address@hidden>
+
+ * doc/install.texi: Mention uninstallation in menus.
+ (Build/install and uninstall): Add "Uninstallation" index entry.
+ Document uninstallation process.
+
+ * Makefile.in: Update copyright years.
+ (.PHONY): Add uninstall rule.
+ (uninstall): New rule.
+
+ * doc/Makefile.in: Update copyright years.
+ (.PHONY): Add uninstall rule.
+ (uninstall): New rule.
+
+ * latex/Makefile.in: Update copyright years.
+ (.PHONY): Declare phony targets.
+ (install-texmf-doc): Do not ignore errors in this rule.
+ (uninstall): New rule.
+
2015-03-03 Tassilo Horn <address@hidden>
* doc/auctex.texi (Filling): Document LaTeX-fill-excluded-macros.
diff --git a/Makefile.in b/Makefile.in
index 9320db2..5e1b261 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
# Maintainer: address@hidden
-# Copyright (C) 2003-2008, 2010, 2013, 2014 Free Software
+# Copyright (C) 2003-2008, 2010, 2013-2015 Free Software
# Foundation, Inc.
# This file is part of AUCTeX.
@@ -184,7 +184,7 @@ all: texmf lisp docs
install-man clean distclean maintainer-clean extraclean \
tar-ball-clean check-tag check release-commit dist snapshot \
patch tar-ball rpm-packages wc xemacs-package windows-package \
- release-sign release-upload preview-ball
+ release-sign release-upload preview-ball uninstall
texmf: latex/Makefile
$(TEXMF)
@@ -352,6 +352,21 @@ install-metadata:
echo "pkginfo/MANIFEST.$(PACKAGE)" >> "pkginfo/MANIFEST.$(PACKAGE)" ;
\
}
+uninstall:
+ rm -rf $(DESTDIR)$(packagelispdir) $(DESTDIR)$(packagedatadir) \
+ $(DESTDIR)$(autodir)
+ if test X$(packagedir) = Xno ; then \
+ rm -f $(DESTDIR)$(lispdir)/tex-site.el \
+ $(DESTDIR)$(auctexstartfile) ; \
+ else \
+ rm -f $(DESTDIR)$(packagedir)/man/auctex/RELEASE \
+ $(DESTDIR)$(packagedir)/pkginfo/MANIFEST.$(PACKAGE); \
+ fi
+ cd doc ; $(MAKE) DESTDIR=$(DESTDIR) uninstall
+ rm -f $(DESTDIR)$(previewstartfile)
+ rm -rf $(DESTDIR)$(packagelispdir)
+ (cd latex ; $(MAKE) DESTDIR=$(DESTDIR) uninstall)
+
.el.elc:
$(ELCC) -f batch-byte-compile $<
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 0855186..01e7e2a 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -2,7 +2,7 @@
# Maintainer: address@hidden
-# Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003-2008, 2013-2015 Free Software Foundation, Inc.
# This file is part of AUCTeX.
@@ -90,7 +90,8 @@ dist: $(DISTTEXTS) preview-latex.info auctex.info tex-ref.pdf
extradist: html/$(TEXI2HTML_TOC) auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf
.PHONY: all info dvi dist install-auctex disttexts clean distclean \
- maintainer-clean install-preview install-man html-docs extradist
+ maintainer-clean install-preview install-man uninstall html-docs \
+ extradist
# AUCTeX
@@ -200,6 +201,15 @@ install-preview: preview-latex.info
# clean
+uninstall:
+ for info in $(DESTDIR)$(infodir)/{auctex.info,preview-latex.info}; do \
+ test ! -f $${info} || \
+ $(INSTALL_INFO) --delete --info-dir=$(DESTDIR)$(infodir)
$${info}; \
+ done
+ rm -f $(DESTDIR)$(infodir)/auctex.info
$(DESTDIR)$(infodir)/auctex.info-* \
+ $(DESTDIR)$(infodir)/preview-latex.info*
+ test X$(packagedir) != Xno || rm -rf -f $(DESTDIR)$(docdir)
+
clean:
rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \
*.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \
diff --git a/doc/install.texi b/doc/install.texi
index 24fda96..d814cca 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -43,7 +43,7 @@ the file @file{INSTALL.windows}.
@menu
* Prerequisites::
* Configure::
-* Build/install::
+* Build/install and uninstall::
* Loading the package::
* Advice for package providers::
* Advice for non-privileged users::
@@ -56,7 +56,7 @@ the file @file{INSTALL.windows}.
@menu
* Prerequisites::
* Configure::
-* Build/install::
+* Build/install and uninstall::
* Loading the package::
* Advice for package providers::
* Advice for non-privileged users::
@@ -270,11 +270,12 @@ It is to be used when you are using @address@hidden/dir}},
but is normally not necessary otherwise.
@end table
address@hidden Build/install
address@hidden Build/install
address@hidden Build/install and uninstall
address@hidden Build/install and uninstall
@cindex Installation
@cindex Make
address@hidden Uninstallation
Once @command{configure} has been run, simply enter
@@ -291,9 +292,21 @@ locations chosen earlier, type
make install
@end example
address@hidden
You may need special privileges to install, e.g., if you are installing
into system directories.
+Should you want to completely remove the installed package, in the same
+directory you built @AUCTeX{} run
+
address@hidden
+make uninstall
address@hidden example
+
address@hidden
+You will need administration privileges if you installed the package
+into system directories.
+
@node Loading the package
@section Loading the package
@cindex @file{.emacs}
@@ -575,3 +588,8 @@ directories will be searched recursively, so there is no
reason to list
subdirectories explicitly. Automatic configuration will already have
set the variable for you if it could use the program @samp{kpsewhich}.
In this case you normally don't have to alter anything.
+
address@hidden Local Variables:
address@hidden mode: texinfo
address@hidden TeX-master: "auctex"
address@hidden End:
diff --git a/latex/Makefile.in b/latex/Makefile.in
index 8a40ca0..afb0a62 100644
--- a/latex/Makefile.in
+++ b/latex/Makefile.in
@@ -2,7 +2,8 @@
# Maintainer: address@hidden
-# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002-2006, 2008, 2014, 2015 Free Software Foundation,
+# Inc.
# This file is part of AUCTeX.
@@ -41,6 +42,8 @@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = ../mkinstalldirs
+.PHONY: all install install-texmf install-texmf-doc uninstall clean
+
all: $(TEXMFGEN) preview.drv preview-mk.ins preview.dvi preview.pdf
install: install-texmf install-texmf-doc
@@ -61,9 +64,12 @@ install-texmf: $(TEXMFGEN)
fi
install-texmf-doc: preview.dvi
- -$(MKINSTALLDIRS) $(DESTDIR)$(previewdocdir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(previewdocdir)
$(INSTALL_DATA) preview.dvi $(DESTDIR)$(previewdocdir)
+uninstall:
+ rm -rf $(DESTDIR)$(previewdocdir)/preview.dvi
$(DESTDIR)$(previewtexmfdir)
+
preview-mk.ins: preview.dtx bootstrap.ins
$(TEX) '\nonstopmode \input bootstrap.ins'
@@ -87,5 +93,5 @@ preview.pdf: preview.drv preview.dtx preview.sty
$(PDFLATEX) '\nonstopmode
\AtBeginDocument{\OnlyDescription}\input{preview.drv}'
clean:
- rm -f *~ *.aux *.dvi *.drv *.log
- rm -f $(TEXMFGEN) preview.ins preview-mk.ins
+ rm -f *~ *.aux *.dvi *.drv *.log
+ rm -f $(TEXMFGEN) preview.ins preview-mk.ins
- [elpa] externals/auctex 3cf92fc 14/35: Fix font-locking issue, (continued)
- [elpa] externals/auctex 3cf92fc 14/35: Fix font-locking issue, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 39badf0 15/35: New defcustom LaTeX-fill-excluded-macros, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 83306b4 13/35: Add some expl3 support, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 074af82 16/35: Add docs for LaTeX-fill-excluded-macros, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 61ed48c 19/35: Replace add-to-list with pushnew, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 31c42ca 23/35: Indent \[...\] display math as a normal environment., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 41c5f9a 24/35: Improve error/warning reporting when file cannot be determined., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 59f9440 26/35: Fix void-function error occuring if cl is not loaded, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 4034de2 21/35: New style for caption.sty., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex a2a4777 25/35: Add TeX-after-TeX-LaTeX-command-finished-hook, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex b853739 17/35: Add uninstall rules to Makefiles.,
Tassilo Horn <=
- [elpa] externals/auctex d23de0a 18/35: Style for bidibeamer which delegates to beamer, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex a375093 20/35: New style enumitem.el, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 69b02a0 22/35: New style for geometry.sty., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 003f475 28/35: New style ltablex.el., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex f16c051 31/35: Fix header of style/mn2e.el., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 8d7fef3 27/35: Improve styles enumitem.el and caption.el., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 6896a4c 32/35: Fix of the fix. Really., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex fd04166 29/35: New style ltxtable.el., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex b1e9217 30/35: Style file for mn2e.cls., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex ca40c6a 33/35: Fix a broken link in documentation., Tassilo Horn, 2015/03/22