开发者

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

开发者 https://www.devze.com 2022-12-28 02:33 出处:网络
I want to provide \'install\' target for Makefile for web application.I\'d like to be able to install it, for example like described b开发者_如何学JAVAelow:

I want to provide 'install' target for Makefile for web application. I'd like to be able to install it, for example like described b开发者_如何学JAVAelow:

$ 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?


The web application lingo usually refers to deployments, rather than installs, so that would suggest deploydir.

0

精彩评论

暂无评论...
验证码 换一张
取 消