summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-24 20:28:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-24 20:28:08 +0000
commitebf414d3d4f5fffb456327b5649c50d5a2de4e90 (patch)
tree323d8591a2f28fe5326d58a01e4fe6491192adea
parent0bddcaed14c9424eb0f5222decb435a1fee9aaae (diff)
response
-rw-r--r--doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn18
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn b/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn
index a8ae17995..fe22df19c 100644
--- a/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn
+++ b/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn
@@ -14,4 +14,20 @@ However when I try to run ikiwiki I get an error as follows:
Can't stat /usr/share/ikiwiki/basewiki: No such file or directory
at /home/ed/lib/perl5/site_perl/5.8.7/IkiWiki/Render.pm line 349
-The PREFIX specified at build time should also affect the share directory - it shouldn't try to use /usr/share here. \ No newline at end of file
+The PREFIX specified at build time should also affect the share directory -
+it shouldn't try to use /usr/share here.
+
+ Actually, the PREFIX, no matter where you specify it, is only
+ intended to control where files are _installed_, not where they're
+ looked for at runtime.
+
+ There's a good reason not to make PREFIX be used to actually
+ change the program's behavior: Most packaging systems use PREFIX
+ when building the package, to make it install into a temporary
+ directory which gets packaged up.
+
+ It would probably be nice if ikiwiki offered a separate build-time
+ setting to control where it looked for its data files, though it already
+ offers a way to do it at runtime (--underlaydir and --templatedir).
+
+ --[[Joey]]