Build Patch Integration?

Joachim Schlosser <[email protected]> Wed, 16 Feb 2005 23:50:00 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <4213CE18.9010202__15088.5868039497$1108597688$gmane$org@schlosser.info>
Hi again,

some time ago David sent me a patch to make the build process under 
Windows work. There were problems with compiling the .elc files with 
"make install" in a MinGW MSys bash.

It seems that they are not integrated yet into the build. Regarding 
this topic, I got some mail of a reader of my "LaTeX environment 
installation for Windows" guide.

Now I would like to know if you plan a release containing this patch 
in near future or I better refer to the patch in my guide.

Thanks a lot!

Best
Joachim

-- 
Joachim Schlosser
FYI: Dies ist eine gültige und replyfähige Adresse.
http://schlosser.info
preview-latex.patch (text/plain, 1.6 KB)
--- Makefile.in	11 Nov 2003 18:45:36 -0000	1.47
+++ Makefile.in	28 Jul 2004 00:04:50 -0000	1.49
@@ -16,17 +16,17 @@
 ICON_SOURCES = $(ICON_XPM_SOURCES) $(ICON_XBM_SOURCES) \
 	images/preview-cap-up.xpm
 
-prefix = @prefix@#
-lispdir = @lispdir@#
-loadlispdir = @lispdir@#
-icondir = @icondir@#
-datadir = @datadir@#
-packagedir = @packagedir@#
-auctexdir = @auctexdir@#
+prefix = @prefix@$(null)
+lispdir = @lispdir@$(null)
+loadlispdir = @lispdir@$(null)
+icondir = @icondir@$(null)
+datadir = @datadir@$(null)
+packagedir = @packagedir@$(null)
+auctexdir = @auctexdir@$(null)
 DESTDIR=
 
-INSTALL = @INSTALL@#
-INSTALL_DATA = @INSTALL_DATA@#
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
 MKINSTALLDIRS = ./mkinstalldirs
 
 all: texmf elisp docs install-hint
--- preview-latex.spec
+++ preview-latex.spec
@@ -114,11 +114,11 @@
     mkdir -p '%{buildroot}%{_datadir}/emacs/site-lisp/site-start.d'
     install -c -m 644 preview-latex.el \
       '%{buildroot}%{_datadir}/emacs/site-lisp/site-start.d'
-    %makeinstall 'lispdir=%{buildroot}%{_datadir}/emacs/site-lisp/preview' 'texmfdir=%{buildroot}%{_datadir}/texmf'
+    %makeinstall 'lispdir=%{_datadir}/emacs/site-lisp/preview' 'texmfdir=%{_datadir}/texmf' 'infodir=%{_infodir}'
   else
     # XEmacs MANIFEST doesn't get created unless the target dir exists
     mkdir -p '%{buildroot}%{xemacspkgdir}/pkginfo'
-    %makeinstall 'packagedir=%{buildroot}%{xemacspkgdir}' 'texmfdir=%{buildroot}%{_datadir}/texmf'
+    %makeinstall 'packagedir=%{xemacspkgdir}' 'texmfdir=%{_datadir}/texmf' 'infodir=%{_infodir}'
   fi
   popd
 done