Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically determine Autoconf package version from cmake package version #1663

Merged
merged 5 commits into from
Feb 7, 2024

Commits on Feb 6, 2024

  1. Allow repeated doc builds without errors (Autotools)

    Sometimes when building with the Autoconf buildsystem,
    the avrdude-html/ subdir already exists and therefore
    renaming the newly built avrdude/ subdir to avrdude-html/
    cannot succeed.
    
    Removing the old avrdude-html/ subdir first fixes that.
    ndim committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ce1bc3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    962cb03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acb7ba4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e58b344 View commit details
    Browse the repository at this point in the history
  5. Get AC_INIT version number from CMakeLists.txt

    Generate the version number used in the Autotools builds
    via a script from the top-level CMakeLists.txt and git
    information instead of manual editing.
    
    This script mimics what the avrdude top-level CMakeLists.txt
    does for composing AVRDUDE_FULL_VERSION.
    
    Consequently, maintainers do not need to edit the version numbers
    in the "src/configure.ac" file's "AC_INIT(...)" line any more.
    
    However, unlike the cmake based builds, this does not print the
    commit hash in the "avrdude --help" message or in the "avrdude.conf"
    file's "avrdude_conf_version = " line. That will come later.
    
    These are the six build types supported and what avrdude
    versions cmake and the autoconf builds actually produce:
    
                                   cmake          autoconf
        git clone     release      7.2            7.2
        git clone     non-release  7.2-DATE+HASH  7.2-DATE
        git archive   release      7.2            7.2
        git archive   non-release  7.2            7.2
        dist tarball  release      N/A            7.2
        dist tarball  non-release  N/A            7.2-DATE
    ndim committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    d15c561 View commit details
    Browse the repository at this point in the history