make world and install-world without docs
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-05-31T14:16:11Z
Lists: pgsql-hackers
Attachments
- make-skipdocs.patch (text/x-patch) patch
I've been thinking about rationalizing some of the buildfarm code, which
has grown somewhat like Topsy over the years. One useful thing would be
to run all the "make" and "install" pieces together. When the buildfarm
started we didn't have world targets, but they are now almost ancient
history themselves, so it would be nice to leverage them.
However, not all buildfarm animals are set up to build the docs, and not
all owners necessarily want to. Moreover, we have provision for testing
various docs formats (PDF, epub etc). So I'd like to be able to build
and install all the world EXCEPT the docs. Rather than specify yet more
targets in the Makefile, it seemed to me a better way would be to
provide a SKIPDOCS option that could be set on the command line like this:
make SKIPDOCS=1 world
make SKIPDOCS=1 install-world
The attached very small patch is intended to provide for that.
Incidentally, this is exactly what the MSVC build system's 'build.bat'
and 'install.bat' do.
I should add that quite apart from the buildfarm considerations this is
something I've long wanted, and I suspect other developers would find it
useful too.
Obviously to be useful to the buildfarm it would need to be backpatched.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
Commits
-
Add new make targets world-bin and install-world-bin
- 100e9ae53f21 14.0 landed
- b8c4261e5e8d 15.0 landed
- cbd5d7c852dc 9.6.23 landed
- b796435be003 10.18 landed
- a7e3a390e11e 11.13 landed
- c71471c96f16 12.8 landed
- bd0be7f7a42f 13.4 landed