You're writing a Makefile, not a shell script. That conf file is something to be installed. It's a target, not some runtime information. In Makefile, describe a target in Makefile rule syntax. `$(shell ...)` is for assigning variables, detect runtime environments.