summaryrefslogtreecommitdiff
path: root/version.mk
AgeCommit message (Collapse)AuthorFilesLines
2024-06-05version.mk: Always generate version.hppFreeyorp1-1/+6
2024-06-05version.mk: make version target PHONYFreeyorp1-0/+1
2024-06-05Generate {install,version}.hpp through attoconfFreeyorp1-0/+23
Or more specifically, in the attoconf buildchain. attoconf itself directly generates src/conf/install.hpp alongside Makefile, but version inforation is only available later. To generate version.hpp, I extended version.mk slightly to provide the recipe. It's not anywhere near as generic as real.make tends to be, but with any luck we'll soon be doing all builds through cmake going forward. The template for install.hpp has been changed to use variables actually provided by attoconf. PACKAGE{SYSCONF,LOCALSTATE}DIR are actually only defined in real.make, and then only in terms of SYSCONFDIR and LOCALSTATEDIR, adding `/tmwa`. It's simpler to just use the attoconf variable and adjust the template, which conveniently also simplifies the construction in CMakeLists.txt, too.
2024-06-05VENDOR_SOURCE: github.com -> git.themanaworld.orgFreeyorp1-1/+1
2024-06-04Rename .make to .mkFreeyorp1-0/+58
.mk is more widely understood than .make, for IDE usage.