building-envelope-data / database

Reference implementation of a product data server as part of the product data network buildingenvelopedata.org
MIT License
0 stars 0 forks source link

Do not use `$(pwd)` in `Makefile.production` as it is error-prone #24

Open simon-wacker opened 2 years ago

simon-wacker commented 2 years ago

For details and an alternative see https://stackoverflow.com/questions/18136918/how-to-get-current-relative-directory-of-your-makefile/18137056#18137056

We currently use it in https://github.com/building-envelope-data/database/commit/756e588a0b003b46fd51950abe8b37c19d7757b4#diff-acb6b529d5fc00dd2cba18d12537de28eec02a895d8f6c88ea87e2b7690a3b01R230 and https://github.com/building-envelope-data/database/commit/756e588a0b003b46fd51950abe8b37c19d7757b4#diff-acb6b529d5fc00dd2cba18d12537de28eec02a895d8f6c88ea87e2b7690a3b01R235

Related to https://github.com/building-envelope-data/metabase/issues/133