From 77f12ecb1154a59907dab08c0cfbeddca73af110 Mon Sep 17 00:00:00 2001 From: hrs Date: Mon, 3 Nov 2014 22:06:22 +0000 Subject: Fix build with old make. Reported by: Scott Allendorf --- print/auctex/files/patch-doc-Makefile.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'print') diff --git a/print/auctex/files/patch-doc-Makefile.in b/print/auctex/files/patch-doc-Makefile.in index 8e522e6e2557..398bf1564e34 100644 --- a/print/auctex/files/patch-doc-Makefile.in +++ b/print/auctex/files/patch-doc-Makefile.in @@ -1,6 +1,6 @@ --- doc/Makefile.in.orig 2014-10-30 04:21:17.000000000 +0900 -+++ doc/Makefile.in 2014-11-03 23:20:17.000000000 +0900 -@@ -38,18 +38,18 @@ ++++ doc/Makefile.in 2014-11-04 07:02:49.000000000 +0900 +@@ -38,18 +38,19 @@ # If `texi2html' is not available, use `makeinfo' when possible. Set the ToC # file accordingly. Actually, makeinfo >= 5 is needed, but we don't check the # version. @@ -16,11 +16,12 @@ - TEXI2HTML_TOC=auctex_toc.html - endif -endif -+.if "@TEXI2HTML@" == ":" ++COLON=: ++.if ${COLON} != "@TEXI2HTML@" +TEXI2HTML=@TEXI2HTML@ +TEXI2HTML_TOC=auctex_toc.html +.else -+. if "@MAKEINFO@" == ":" ++. if ${COLON} != "@MAKEINFO@" +TEXI2HTML=@MAKEINFO@ --html +TEXI2HTML_TOC=index.html +. else @@ -31,7 +32,7 @@ TEXI2DVI=@TEXI2DVI@ TEXI2PDF=@TEXI2PDF@ MKINSTALLDIRS = ../mkinstalldirs -@@ -85,7 +85,11 @@ +@@ -85,7 +86,11 @@ done ; \ } @@ -43,7 +44,7 @@ extradist: html/$(TEXI2HTML_TOC) auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf -@@ -125,6 +129,18 @@ +@@ -125,6 +130,18 @@ auctex.info: $(AUCTEXTEXIFILES) $(MAKEINFO) auctex.texi @@ -62,7 +63,7 @@ install-auctex: auctex.info tex-ref.pdf -$(MKINSTALLDIRS) $(DESTDIR)$(infodir) rm -f $(DESTDIR)$(infodir)/auctex $(DESTDIR)$(infodir)/auctex-* -@@ -140,6 +156,7 @@ +@@ -140,6 +157,7 @@ rm -f $(DESTDIR)$(docdir)/tex-ref.pdf; \ $(INSTALL_DATA) tex-ref.pdf $(DESTDIR)$(docdir); \ } -- cgit