Simplify doc build by dropping fonts from repository. If the fonts are
not installed on the system, the browser will simply use fallback fonts
which seems like an ok tradeoff.
The Makefile depends less on the build directory structure while the
installation is fully configurable via DESTDIR, PREFIX and
GPRINSTALLFLAGS.
The installed sources now include C sources. This seems good for
debugging, and the intent has never been to allow a rebuild.
The generated project contains lots of unneeded variables, but this
does not hurt and may arguably be useful.
Remove LIBRARY_VERSION Make variable.
Replace patch in Debian build system with a doc Makefile option. The
work mayn be of interest for other redistributors, and is easier to
maintain upstream.
- Create DESTDIR using order-only prereq
- Move asciidoctor attributes to index file
- Stop setting TZ=UTC (asciidoctor now deals with SOURCE_DATE_EPOCH)
Since there is no difference in how source and destination accept checks
are done in the policy DB implementation, use the same function in both
cases and rename it to Accept_ID.
Make destination filtering behavior analogous to source filtering: if no
entry for the identifier is found in the database consider the default
loglevel.
Instead of at package-level, move the Current_Default_Loglevel variable
into the Protected_Policy_DB type alongside the identifier level map.
This enables multiple instances of Protected_Policy_DB to coexist
without being entangled via the package-level variable.
This prevents any inconsistency on the command line between ALOG_VERSION
(or its default value) and LIBRARY_KIND (or its default value).
Require an explicit ALOG_VERSION in gprbuild command line. The default
was dynamic in Makefile and static in projects, leading to some
confusion. For example, debian/rules was setting VERSION for tests.
Split build_lib_[dynamic|static] Makefile targets as done for install.
Rename the project version internal variable after the external one,
and move it from common project to the only project it affects.
Pass Ada and C flags to every gprbuild command. Each run may detect that
the library must be updated and recompile Ada or C files. Add missing C
flags when building tests.
Put Adaflags after default options to allow overriding. Only parse
environment once for these flags. Handle CPPFLAGS as well as CFLAGS.
Avoid mixing command line options with project compiler_switches, as the
precedence is not well defined. Use package renamings or extensions
instead of variables to reduce boilerplate.