Trying to improve x49gp
|
11-17-2021, 11:02 PM
Post: #75
|
|||
|
|||
RE: Trying to improve x49gp
(11-17-2021 09:52 PM)gwh Wrote: It also adds DESTDIR in the Makefile because I make a (Slackware) package and this makes it easier.Uhh, so where's the problem this is supposed to solve that isn't already solved by overriding INSTALL_PREFIX (see the Arch PKGBUILD I attached to an earlier post in this thread)? In short, I run make all with INSTALL_PREFIX set to where it's supposed to be installed eventually (so the handful of directory references compiled into the binary are correct), then make install with INSTALL_PREFIX set to the equivalent directory inside the one that gets compressed into a package by the packaging utility. That's the kind of process I've seen in packaging other software, and therefore the process I designed the INSTALL_PREFIX variable for when I implemented the install target. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)