Update autotools configuration to include all distribution files #159
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes allow
make distandmake distcheckto succeed (tested on Debian 13 Trixie), although CPPFLAGS needs some extra parameters, especially when building outside the source tree (such as when runningmake distcheck). E.g.and for
make distcheckIncluding these flags in
AM_CPPFLAGSin the relevantMakefile.amfiles should be harmless and simplify any instructions. I've tried to make as few changes as necessary. Additionally I have not sorted any of the lists of files to make merge conflicts easier to handle. Ideally they should be sorted after a successful merge.make distcreates both tar and zip distribution files. That can be changed inAM_INIT_AUTOMAKEinconfigure.ac. The distribution files contain the same contents as currently in the distribution files created by Github.The advantage of using the autotools distribution file is that the end user does not need to install autotools etc. Nor will there be autotool version conflicts. The only dependencies to build on Debian 13 (Trixie) are
pkg-config g++ libncurses-dev.libcppunit-devwould be required to build the unit tests.I also included an option to disable attempting to install CMake modules as this causes
make distcheckto fail.