octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MINGW32 patch: windows-style paths in conf.texi (doc build)


From: Benjamin Lindner
Subject: MINGW32 patch: windows-style paths in conf.texi (doc build)
Date: Mon, 11 Jun 2007 13:00:51 +0200

This patch translates the MSYS style paths in doc/conf.texi.in into
pseudo-windows style paths by translating /c/foo/bar into c:/foo/bar.
This is necessary when building the documentation with win32 MiKTeX.

However this is probably not generally working, since /f/foo/bar could
also be a perfectly valid posix path on a *nix system and here 
the translation would not make sense.
So probably this should be a mingw32-specific patch applied seperately
against source code when building

comments?

benjamin

diff -urN -x '.build*' -x '*.bak' -x '*.orig*' -x configure -x config.h.in -x 
'*~' octave-2.9.12-orig/Makeconf.in octave-2.9.12/Makeconf.in
--- octave-2.9.12-orig/Makeconf.in      2007-05-22 18:33:06.000000000 +0200
+++ octave-2.9.12/Makeconf.in   2007-06-06 09:54:10.163729400 +0200
@@ -581,7 +581,8 @@
   -e "s|%TEXINFO_COLAMD%|${TEXINFO_COLAMD}|" \
   -e "s|%TEXINFO_CHOLMOD%|${TEXINFO_CHOLMOD}|" \
   -e "s|%TEXINFO_UMFPACK%|${TEXINFO_UMFPACK}|" | \
-  $(SED) -e "s|%OCTAVE_CONF_DEFS%|\"${UGLY_DEFS}\"|" > address@hidden
+  $(SED) -e "s|%OCTAVE_CONF_DEFS%|\"${UGLY_DEFS}\"|" | \
+  $(SED) -e "s|/\([a-z]\)/|\1:/|g" > address@hidden
 $(simple-move-if-change-rule)
 endef
 

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


reply via email to

[Prev in Thread] Current Thread [Next in Thread]