I want to write a unix / linux program that will use a configuration file.
My problem is where should I put the file location?
I could "hard code" the location (for example /etc) in the program itself.
However, I would like if a user without privileges could install it (via make) in another place, for example ~.
Should makefile edit source code? Or is it usually done differently?
source
share