63.4 Debian Building the Distribution
Using autoconf we need a configuration file
configure.in
which contains the version number and other
relevant information. See below for an example configure.in
Each of the identified AC_OUTPUT
files will be generated by
the configure
script from the corresponding files suffixed
with .in
by the ./configure script which is in turn
generated by the autoconf command which reads information
from configure.in
So, when you change the version number regenerate the configure script with:
Next time you ./configure the new Makefiles and source code will contain the updated information.
The Makefile.in
in the base directory includes a target to
generate a tar file for distribution:
The resulting tar file will be named something like
./wajig-2.0.20.tar.gz
. After making the distribution tar file
move it to another directory for the convenience of the Debian
packaging tools:
An example configure.in
is:
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0