]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/Add_DESTDIR_to_the___39__pm__95__filter__39___and_use_MAKE_in___39__po__47__Makefile__39__.mdwn
Greek hello
[git.ikiwiki.info.git] / doc / todo / Add_DESTDIR_to_the___39__pm__95__filter__39___and_use_MAKE_in___39__po__47__Makefile__39__.mdwn
index 4b84e56b5b505be8a0a9f2c2a4334e21d778f8d9..26e72ae88e70d7442d01964cc00a4afd89fccff2 100644 (file)
@@ -16,6 +16,20 @@ index 5b0eb74..94adb0f 100755
                 'XML::Simple'           => "0",
 """]]
 
+> This change certainly looks plausible, but I maintain a package
+> of ikiwiki in a build system that sets `DESTDIR`, and I've not
+> noticed any problems there. Would you be willing to do one more
+> build in your environment without this change, so that we can
+> understand the problem it's trying to fix? --[[schmonz]]
+>> Thinking about this more and perhaps this is incorrect?  Or more accurately, I may have been using `DESTDIR` incorrectly.  I'm unsure.  I don't currently have access to the correct build environment but my best recollection is that I was using the `DESTDIR` to set base install directory for multiple working copies.  Of course, the `DESTDIR` is normally a staging install for the root directory (i.e. not normally visible during runtime).  I'm not 100% on the use of `DESTDIR` but perhaps you are?  Otherwise, leave this, and I'll adjust that build environment to rework the `PREFIX` variable instead.  -- [[ttw]]
+
+>>> Maybe one of these explanations from
+>>> [GNU](https://www.gnu.org/prep/standards/html_node/DESTDIR.html) or
+>>> [pkgsrc](https://www.netbsd.org/docs/pkgsrc/fixes.html#destdir-support)
+>>> clarifies `DESTDIR` for you. If you can narrow down a specific,
+>>> reproducible problem that setting `DESTDIR` helps solve, please do
+>>> report it here. Until then, marking this [[done]]. --[[schmonz]]
+
 Also, the `po/Makefile` presumes the use of `make`, explicitly.  If you use another build tool it fails (ironically I was actually using `gmake` in non-gnu environment so it wasn't aliased to `make`).  Switch from the explicit call to the generic recall variable `$(MAKE)`.
 
 [[!format diff """
@@ -34,6 +48,11 @@ index 5ec4a15..4d1d33e 100644
         cd .. && ./Makefile.PL
 """]]
 
+> This change looks more obviously correct, and I understand exactly
+> I haven't encountered the problem you have (my build system ensures
+> that `make` gets me `gmake` for ikiwiki). Cherry-picked, with amended
+> commit message. --[[schmonz]]
+
 Note following comments by [[Joey]] via github
 
 > These are not mergeable in their current state.