Giter Site home page Giter Site logo

Comments (3)

ingydotnet avatar ingydotnet commented on August 22, 2024

There is already INSTALL_LIB and INSTALL_MAN. Can you not do what you want with those?

from git-hub.

Benabik avatar Benabik commented on August 22, 2024

Yes, apparently I can. Thanks. This is a bigger issue with programs that store paths during build.

Still is a bit of a interface issue. With DESTDIR, I can just say "install like you normally would, just over there". Without it, I have to verify that I've set all the paths so I don't accidentally miss something. Also have to set INSTALL_LIB to $DESTDIR/(git --exec-path) and INSTALL_MAN to include the appropriate section, which is annoying.

May write up a quick patch anyway. It's a useful thing to have around for packagers.

from git-hub.

ingydotnet avatar ingydotnet commented on August 22, 2024

I'm going to close this.

I updated the docs and Makefile. make install is no longer the primary
approach. The primary way is to just modify PATH and MANPATH. This way supports
git hub upgrade. make install is still supported, but only recommended for
system installs, which is more rare I think.

I feel pretty good about these options. Do they work for you @Benabik?

I'd still welcome a patch for DESTDIR if you think it is warranted.

from git-hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.