diff options
author | Pavel Vinogradov | 2016-11-05 18:03:00 -0400 |
---|---|---|
committer | Pavel Vinogradov | 2016-11-05 18:09:41 -0400 |
commit | bce12f887813831f0a9a7c35024d434ed3752366 (patch) | |
tree | d2bb3de44ba715226f2d4dc284b719c5c796ca96 /emacs-lisp | |
parent | 30e9535396239f3fced1ba3b38fc97cfcf19215d (diff) |
emacs-lisp/auctex: converted to ./configure && make... build system + some codestyling
Diffstat (limited to 'emacs-lisp')
-rwxr-xr-x | emacs-lisp/auctex/BUILD | 16 | ||||
-rwxr-xr-x | emacs-lisp/auctex/DEPENDS | 2 | ||||
-rw-r--r-- | emacs-lisp/auctex/HISTORY | 3 | ||||
-rwxr-xr-x | emacs-lisp/auctex/INSTALL | 1 | ||||
-rwxr-xr-x | emacs-lisp/auctex/PRE_BUILD | 3 | ||||
-rw-r--r-- | emacs-lisp/auctex/subfigure.el.patch | 14 |
6 files changed, 38 insertions, 1 deletions
diff --git a/emacs-lisp/auctex/BUILD b/emacs-lisp/auctex/BUILD new file mode 100755 index 0000000000..c3cc3fb5d2 --- /dev/null +++ b/emacs-lisp/auctex/BUILD @@ -0,0 +1,16 @@ +OPTS="$OPTS --build=${BUILD}" && +[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}" +./configure --prefix="${INSTALL_ROOT}/usr" \ + --sysconfdir="${INSTALL_ROOT}/etc" \ + --localstatedir="${INSTALL_ROOT}/var" \ + --mandir="${INSTALL_ROOT}/usr/share/man" \ + --infodir="${INSTALL_ROOT}/usr/share/info" \ + --with-auto-dir="${INSTALL_ROOT}/var/lib/auctex" \ + --disable-build-dir-test \ + $OPTS \ +make && +make tex-site.el && +cp tex.el style/tex.el && +cp tex-site.el style/tex-site.el && +emacs -Q -batch -l lpath.el -f batch-byte-compile \ + tex-jp.el prv-emacs.el preview.el diff --git a/emacs-lisp/auctex/DEPENDS b/emacs-lisp/auctex/DEPENDS index f5eb87ba1e..92cd00d5ee 100755 --- a/emacs-lisp/auctex/DEPENDS +++ b/emacs-lisp/auctex/DEPENDS @@ -1,3 +1,3 @@ depends EMACS && depends texlive && -depends texlive-texmf --with-texmf-dir=/usr/share/texmf +depends texlive-texmf "--with-texmf-dir=${INSTALL_ROOT}/usr/share/texmf" diff --git a/emacs-lisp/auctex/HISTORY b/emacs-lisp/auctex/HISTORY index 52c520f95c..700f895fcc 100644 --- a/emacs-lisp/auctex/HISTORY +++ b/emacs-lisp/auctex/HISTORY @@ -1,5 +1,8 @@ 2016-11-05 Pavel Vinogradov <public@sourcemage.org> * DETAILS: updated spell to 11.89 + * BUILD, INSTALL, PRE_BUILD, subfigure.el.patch: added for + building with regular ./configure && make... + * DEPENDS: quoting++ 2014-06-24 Ismael Luceno <ismael@sourcemage.org> * DETAILS: updated spell to 11.87 diff --git a/emacs-lisp/auctex/INSTALL b/emacs-lisp/auctex/INSTALL new file mode 100755 index 0000000000..e6fe4f7638 --- /dev/null +++ b/emacs-lisp/auctex/INSTALL @@ -0,0 +1 @@ +make install diff --git a/emacs-lisp/auctex/PRE_BUILD b/emacs-lisp/auctex/PRE_BUILD new file mode 100755 index 0000000000..badf8e9405 --- /dev/null +++ b/emacs-lisp/auctex/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd ${SOURCE_DIRECTORY} && +patch -p1 < ${SPELL_DIRECTORY}/subfigure.el.patch diff --git a/emacs-lisp/auctex/subfigure.el.patch b/emacs-lisp/auctex/subfigure.el.patch new file mode 100644 index 0000000000..f029c612d1 --- /dev/null +++ b/emacs-lisp/auctex/subfigure.el.patch @@ -0,0 +1,14 @@ +--- a/style/subfigure.el ++++ b/style/subfigure.el +@@ -47,8 +47,9 @@ + ;; Install completion for labels: + (setq TeX-complete-list + (append +- '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}"))) +- TeX-complete-list) ++ '(("\\\\subref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}") ++ ("\\\\Subref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")) ++ TeX-complete-list)) + + ;; Fontification + (when (and (featurep 'font-latex) |