Name for build option (for "make install") specifying where to install web application

Posted by Jakub Narebski on Stack Overflow See other posts from Stack Overflow or by Jakub Narebski
Published on 2010-04-21T01:03:51Z Indexed on 2010/04/21 1:13 UTC
Read the original article Hit count: 274

I want to provide 'install' target for Makefile for web application. I'd like to be able to install it, for example like described below:

$ make install \
    xxxdir=/var/www/cgi-bin

(similarly to how one would use 'bindir' for ordinary programs, and 'mandir' / 'infodir' for documentation).

Is there any standard (similar to autotools 'bindir', 'sharedir', etc.) for the name of 'xxxdir' variable in above example?

How do you think should such build configuration variable be named?

© Stack Overflow or respective owner

Related posts about makefile

Related posts about make