This directory contains various scripts used for regular maintenance
and managing releases. Some are old and merely kept for reference.
See also doc/Release.md
. Some actively used scripts:
-
newversion
Used to update the SWI-Prolog version. EditVERSION
in the top-dir and runscripts/newversion
to updateSWI-Prolog.h
,man/main.doc
and set a GIT release tag on the repo and its submodules. -
mkchangelog
[--no-date] [version]
Generate the changelog. Without arguments dump changes since the last release to stdout. After generating a release, the changelog is generated using the command below. Use the previous version.scripts/mkchangelog --no-date 9.1.20
-
make-distribution
Intended to be sourced. Defines functions to build and upload a release. Needs editing when used outside by build machines. -
make-src-tape
Create a .tar.gz file from the GIT repo and its submodules. See script for options. Normally used throughmake-distribution
-
configure
Sets CMake flags depending on the name of the build directory asbuild.feature1-feature2-...
. See script for details. For example:mkdir build.pgo cd build.pgo ../scripts/configure
-
swipl-activate
[--installed]
Activate the Prolog from the current build directory in$HOME/bin
. By default from the build dir, using--installed
from the installed location. -
macos-deps.sh
Build MacOS dependencies for releases. See script for details.
macosx_bundle_fixup.sh
Used byCPack
to finalize the dependencies in the MacOS bundle.