<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 10: diffuserc / syntax: path only works for certain installs</title><link href="https://sourceforge.net/p/diffuse/bugs/10/" rel="alternate"/><link href="https://sourceforge.net/p/diffuse/bugs/10/feed.atom" rel="self"/><id>https://sourceforge.net/p/diffuse/bugs/10/</id><updated>2012-01-19T23:38:56Z</updated><subtitle>Recent changes to 10: diffuserc / syntax: path only works for certain installs</subtitle><entry><title>diffuserc / syntax: path only works for certain installs</title><link href="https://sourceforge.net/p/diffuse/bugs/10/" rel="alternate"/><published>2012-01-19T23:38:56Z</published><updated>2012-01-19T23:38:56Z</updated><author><name>Moritz Barsnick</name><uri>https://sourceforge.net/u/barsnick/</uri></author><id>https://sourceforge.net68a5fbc88d8d434b811289a9da5e30d911b2ba9d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
the path to the syntax files as given in the default diffuserc (src/etc/diffuserc) only works for certain installations.&lt;/p&gt;
&lt;p&gt;I assume the relative path syntax, such as&lt;br /&gt;
../usr/share/diffuse/syntax/*.syntax&lt;br /&gt;
relates to the location of diffuserc itself? Then this particular path only works when diffuserc is in /etc/, and the rest in /usr/share/diffuse/.&lt;/p&gt;
&lt;p&gt;If I happen to install diffuse into a dedicated directory tree, such as /path/to/diffuse/, and place diffuserc into /path/to/diffuse/etc/diffuserc, that path needs to read:&lt;br /&gt;
../share/diffuse/syntax/*.syntax&lt;/p&gt;
&lt;p&gt;Actually, this path should probably be adapted by install.py, since it knows best where the syntax files land at installation.&lt;/p&gt;
&lt;p&gt;BTW, my install.py call is approximately as such:&lt;br /&gt;
(PREFIX=/site/tools/diffuse/0.4.6; ./install.py --destdir=/tmp/install_root --prefix=$PREFIX --sysconfdir=$PREFIX/etc --examplesdir=$PREFIX/share/diffuse/examples --pythonbin=/usr/bin/python2.7.2 --files-only)&lt;br /&gt;
and $PREFIX/etc doesn't even get created.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>