X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/347a756e384ec6994d4fe7ffe82e384bb9a63057..cc5be82b8b7cfe3b679d8ba4f0d62e0894d9f964:/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn?ds=sidebyside diff --git a/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn b/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn index af2ee35cb..11557c822 100644 --- a/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn +++ b/doc/bugs/PREFIX_not_honoured_for_underlaydir.mdwn @@ -17,14 +17,14 @@ Can't stat /usr/share/ikiwiki/basewiki: No such file or directory 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. +> 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. +> 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. This is not the case. That is the difference between PREFIX and DESTDIR. @@ -41,8 +41,4 @@ isn't entirely clear (perhaps because ordinary Perl modules do not need to be configured at build time depending on the installation directory). It does mention that DESTDIR is the thing used by packaging tools. - 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]] +> Thanks for clarifying that. [[bugs/done]] --[[Joey]]