]> git.tuebingen.mpg.de Git - dss.git/commit
build: Move m4-only definitions to separate file.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 10 May 2024 22:33:40 +0000 (00:33 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 22 May 2024 16:45:54 +0000 (18:45 +0200)
commit9911ed16bc9d98b00c86c627232e71e5683f1e25
tree360fd13541ba730925b9e08bd570f9ef98ef98a0
parent981935349910962cc5396739ea8f4bd6facd2e35
build: Move m4-only definitions to separate file.

We currently pass a number of variables to m4 by specifying command
line options of the form -D var=val. This approach makes the output of
"make V=1" very verbose due to the three multi-line descriptions. To
addresses this issue, introduce defs.m4 which contains one m4 macro
definition for each former make variable. The end result should
be identical.

We tweak the M4 make variable to always read defs.m4 before the
first regular input file so that the suite and the web page see the
definitions. The third user of the former make variables is the README
phony target. To convert this as well, we rename the README file to
README.m4 and adjust the rule of the README phony target to run m4
on this file.

Switch to saner m4 quoting characters while at it.
Makefile
README [deleted file]
README.m4 [new file with mode: 0644]
defs.m4 [new file with mode: 0644]
dss.suite.m4
index.html.m4